Support » Networking WordPress » Images not showing

  • Resolved aunrea

    (@aunrea)



    For some reason my images stopped loading on my multisite install. The images are there, but there seems to be a disconnect between the url and the file location.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • James

    (@mountaintrailrover)

    Morning Aunrea,

    Are your photos appearing as just grey files in your media library as well as not appearing on your site? It looks like their source isn’t correct, either an upload error or URL reference issue, like you said, but there are a few possible ways to fix it, we just need more info.

    Is everything updated?

    James

    James

    (@mountaintrailrover)

    Also, were they working when you first got your site up? Plugin’s can interfere with your media links, you might want to check that out as well. Just deactivating them one at a time until your photos start working again, if that’s the issue, it would be easy to track down.

    Yes the images are showing as grey in the media area. I always keep my websites up to date.

    I have had this site for years and have not had this problem before. All of my networked sites have this issue except the main one. I will try deactivating plugins.

    I was able to get frontend images to show on all but one blog. I had to deactivate Contact Form 7, which as active on all but 2 blogs, including the main one. On the 2 blogs that didn’t have it active I tried deactivating plugins. On one I found that deactivating buddypress (it was only active on this one blog) fixed it. On the other I deactivate all plugins but could not get the images to load.

    On the backend I can’t get images to load on the media page (including newly uploaded images) except on the main website.

    James

    (@mountaintrailrover)

    Great!

    Glad to most of your sites are working again. There could be a permissions issue with your media library. I’ve been doing some checking, try to view your file permissions for the library, they should be set to 755. You should be able to navigate to your /wp-content/uploads folder (unless you’ve set up your own file system) and verify it there in your server that you use.

    If that doesn’t work, then try to force regenerate your thumbnails. There’s a plugin for this if you want called “Force Regenerate Thumbnails” https://wordpress.org/plugins/force-regenerate-thumbnails/. I’ve not used this plugin, so I don’t know if it will work with your multisite install or how long it might take. It does have good reviews though, and could get those thumbnails working again.

    Some extra resources that might help depending on what you have on your websites:
    https://wordpress.org/support/topic/woocommerce-products-have-blank-thumbnails-in-wp-media-library/#post-10074408
    https://www.mhthemes.com/support/fix-blank-thumbnails-wordpress-media-library/

    Hope these get your problem 100% solved!

    James

    I checked permission to all the folders from the root folder to the folder with the images and they are all set to 755.

    I also doubled checked several image urls to make sure that the files are there, they are. So https://projects.candaceduffyjones.com/files/2017/11/wip-200×200.png can be found at public_html/wp-content/blogs.dir/22/files/2017/11/wip-200×200.png along with all the other image sizes.

    I tried a thumbnail image plugin to regenerate the the thumbnails but it didn’t change anything on the site that won’t load images or the sites that won’t load images in the admin area.

    Nothing has fixed the admin images on the images on the one site (which is an image intensive site).

    James

    (@mountaintrailrover)

    Morning Aunrea,

    Well, that’s a bummer.

    Here’s another troubleshooting step: So when I go to the site the header images are showing again. But the ones in the middle aren’t. If I select an image that isn’t working, I get this url: https://inspiringfandoms.com/files/2018/04/CW-DC-02.png and the background url that is working is this: https://inspiringfandoms.com/wp-content/themes/inspiring/assets/images/backupHeader.jpg.

    Maybe your photos need to reference the wp-content/uploads folder? I’m not sure how you have that set up but it could be worth looking into. You could try resetting your permalinks: https://codex.wordpress.org/Settings_Permalinks_Screen. Just try to change them to a new type then save and go back to see if it updates the .png file path.

    Let me know if that works!

    Cheers,

    James

    aunrea

    (@aunrea)

    The photos are referencing the upload folder, but it doesn’t do it directly (probably for security).

    https://inspiringfandoms.com/files/2018/04/CW-DC-02.png is actually located at https://inspiringfandoms.com/wp-content/blogs.dir/2/files/2018/04/CW-DC-02.png or public_html/wp-content/blog.dir/2/files/2018/04/CW-DC-02.png.

    It appears that some of the files are not be redirected to the actual location like they are suppose to.

    • This reply was modified 2 months ago by  aunrea.
    James

    (@mountaintrailrover)

    Morning Aunrea,

    Have you tried to re-upload some of the photos to see if you can get one working?

    James

    aunrea

    (@aunrea)

    I have tried that and uploading new images. They are all blank in the admin area.

    James

    (@mountaintrailrover)

    I’m trying to think of more troubleshooting steps – but don’t have any coming to mind. I’ll let you know if I find anything else.

    itziarserna

    (@itziarserna)

    Hello!!

    i have the same problem. I have tried to upload another images and they appears gray.
    I have all my plugis deactivted, nothing happens and i have also reinstalled the new version of wp and nothing happens.
    Anything new?

    Thanks

    aunrea

    (@aunrea)

    I forgot to update this topic. It is resolved. My host had changed my htaccess file, which was causing the trouble. I replace the htaccess file with a backup and now all my images show up.

    hello!! i dont understand exactly what do you mean with I replace the htaccess file with a backup
    Sorry

    Thanks

    Is your htaccess file causing your images not to show? My host had changed my htaccess file without telling me and that caused my problem. I keep a backup of my htaccess file because my host has done this before (which made my entire website inaccessible).

    This may not be your issue. I am using WordPress as multisite which uses the htaccess to indirectly access uploaded files, like images. Only my uploaded images weren’t showing. If you are not using multisite then the htaccess is probably not causing the issue.

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.