Return to Support

Broken Images on Catergory/Archive Pages

Home Forums Graphene Mobile Neo Support Broken Images on Catergory/Archive Pages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10676
    CJUN
    Member

    Hi all,

    My issue concerns broken featured images in excerpts on category/archive pages.

    The problem was first much more extensive, concerning all featured images and even images in single posts. Most of these problems were, however, solved when installing the plugin “responsive images”. As advised by Graphene developers.

    I am using custom uploads path. My media settings differ from default: Thumbnail size (155*155), medium size (220*122) and large (1280*720).

    The problem looks as below:

    https://ibb.co/jpGKo5

    I will be grateful for any help/advice you guys can provide.

    Thank you.

    Best regards,

    Carl

    #46608
    CJUN
    Member

    Hi,

    I would assume that the problem has to do with a customized media folder setup? That is. storing my uploaded images and files outside the main WordPress folder (wp-content/uploads folder). Is this correct?

    Thank you.

    BR,

    Carl

    #46609
    CJUN
    Member

    Hi again,

    I would very much appreciate if the cause of the problem was pinned down, even if it is impossible to solve without reconstructing the filesystem on the server. Even if this was the case, the problem could be avoidable in the future, if the site were to move.

    Thank you.

    Have a nice weekend.

    BR,

    Carl

    #46610
    Syahir Hakim
    Keymaster

    Hi Carl,

    Since version 4.3, WordPress has a built-in “responsive” images feature. That is, it serves different sizes of the same image to different devices in order for the images to look best on all devices without increasing the file size those devices need to download any more than necessary.

    The issue with your site was that, the links to those different sizes are pointing to the default WordPress uploads folder (wp-content/upload). Only the original image size was linked to the correct custom location, which is why you see those images working fine on desktop but not on mobile.

    If you could try moving the custom uploads folder back to its default location, that would confirm if that is indeed the cause. It’s not something that we can fix from our end though, as it relates to the coding in the WordPress core.

    #46611
    CJUN
    Member

    Thank you Syahir,

    I have specified the following in wp-config.php to:

    define( ‘UPLOADS’, ”.’files/media’ );

    This was done at the initial setup of the site.

    Shouldn’t this point all images to this directory, including those via a mobile device (Neo)? Rather than the default WordPress uploads folder. Or do I need to define the same upload directory in Neo as well?

    Thank you.

    BR,

    Carl

    #46612
    CJUN
    Member

    Hi again,

    Your hypothesis was correct, proven by moving a specific article folder to the default wp-content/upload directory and the category thumbnail loads successfully.

    So, I assume that the solution would be to, either, copy all folders from my custom upload directory to the default directory, or is it possible to simply modify a config file for Neo in a similar way as I have done with “wp-config” (see above)?

    Thanks.

    #46613
    CJUN
    Member

    Hi Syahir,

    Is it possible to change the thumbnail directory for Graphene Neo? Perhaps, simply modify a config file to make the below changes to “wp-config” apply for both desktop and mobile devices.

    define( ‘UPLOADS’, ”.’files/media’ );

    Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.