• Resolved martinjacobson

    (@martinjacobson)


    Hello, I have three WordPress installations all on the same server (Lunarpages). I have tested this with vanilla themes and with no plugins loaded and the behavior is the same on all three WordPress installations. . Immediately upon update to 4.4, I have been unable to successfully add images to posts using the media library.

    When using the Media Library in Post or Admin locations, the Media Library is unable to load any images in the tiled images mode. It doesn’t appear to be a database problem since the images display correctly as long as they already exist in a post, I just can’t add new content.

    Any files which are uploaded can be shown if I switch to the list view in the Media Library admin pane, but unfortunately that doesn’t help, since I can’t use the list view when adding media to a post.

    Any help would be much appreciated.

    Some images of the problem:
    Media Library not loading in tile view

    Media Library loading in list view

Viewing 14 replies - 31 through 44 (of 44 total)
  • @divinestyle, thank you!!!!!! I’ve been thinking about changing my theme. I won a Genesis theme along with a child theme that I don’t really love. Because I won the themes and didn’t purchase them myself, I don’t have access to support.

    I know people say Genesis is king, but the new theme I want isn’t on Genesis framework. Not sure what it would change to do without Genesis…it’s been so long since I had a non-Genesis theme!

    The newer look would be so much better – one I can totally DIY rather than the confusing Genesis situation. Maybe this will force me to make the change.

    Gulp! Thanks again!

    Hello,

    I had the same problem and it was driving me mad after I have changed to new a theme last week. I have called theme and host server teams to help. No success.
    I know little about WP configuration, etc, etc. I just followed an instinctive suggestion: deactivate the plugins one by one. I started from the one which has to do with images. In my case it was an plugin for image compression. BINGO!!

    The grid has come back!
    I hope this helps. It is really annoying gys.
    tom

    Thread Starter martinjacobson

    (@martinjacobson)

    I finally fixed this problem on my three sites.

    1. Copied all WordPress files except for the wp-content folder to a backup
    2. Deleted all files except for wp-content folder (and contents of wp-content). Also left the config file (wp-config.php) on the root level, important.
    3. Uploaded a clean copy of WordPress 4.4
    4. Logged in to wp-admin and ran updates

    All works like a charm now. Hopefully this helps others out.

    Martinjacobson: Follow what you’re saying up until no 4; What do you mean by “Logged into wp-admin and ran updates?” Can you explain this a little more fully. I don’t see a way to run updates. Many, many thanks

    Thread Starter martinjacobson

    (@martinjacobson)

    Ok, if the steps have been successful, you should see your normal dashboard for your site. It will just be version 4.4, so you’ll need to do updates to get it up to the current version. Nothing special. Did that answer your question?

    Hi I have uploaded images to my wordpress version 4.4.2 and the images won’t load properly.I have tried reloading my plugins and adding Hotfix and SSL Insecure Fixer and had no luck. I then tried to deleted and reload WordPress which also has not worked. Does anyone have any ideas why this is happening?

    I like to share what happen in my case (WP 4.2.2)

    Media Library not loading in grid mode (list mode works OK)

    Where was the problem?
    My hosting blocked “admin-ajax.php”, in every site I have in that account

    How can yo find out if your “admin-ajax.php” is blocked?
    For example, if you use Firefox, you can use “Inspect element” (right click in the page you are visiting)
    See the “Network” tab, and hit “reload”
    If you see any “localhost” call from the file “admin-ajax.php”, your hosting may be “forcing” a redirection.

    Ho can I check it?
    Look for any .htaccess file in the folder of you site or a base folder

    Mine where in the base folder
    /home/username/
    but in other cases can be different (VERY different)

    And, inside the .httacces, the code can look like this

    <IfModule mod_alias.c>
    Redirect 301 /wp-admin/admin-ajax.php https://127.0.0.1
    </IfModule>

    What the code does?
    Redirect all the “admin-ajax.php” calls to a “localhost” or “https://127.0.0.1&#8221;

    Solution?
    Just pust # in the begging of the lines above in the .httacces, and try again
    If that doesn’t work, look for any other file in a base folder
    And if you can’t find the .httaccess, remember that the .file (with a dot in the begging) in most cases are hidden in a linux based system.

    IMPORTANT!
    Be very carefull when editing you .htaccess file
    If you mess up something, your site (or sites) will not work

    I had the same problem on one of my sites. After checking all plugins and switching to default twenty-sixteen theme, the problem was still there.

    The cause was an extra empty line in wp-config.php, after ?>

    Maybe this could help someone.

    I have spent countless hours thrashing as my images were not showing up in my media library adn upon uploading one trying to use it as my header image and for it never to appear. I finally found this issue post. While I’m sure I probably spent sometime earlier running 4.4.x, I am currently running 4.6.1. Does a wordpress bug still exist and that is the reason for my troubles? Is there anything I can do to get by this? My business requires that I fix this thing and add new images.

    Thread Starter martinjacobson

    (@martinjacobson)

    OK, I originated this thread.

    This issue (for me anyway) is NOT a bug in WordPress and it is not version-specific, that I know of. It is, in fact, a corrupt WordPress installation. Basically the WordPress core files need to be refreshed with clean versions. I have now applied this fix to the three sites I complained about last year. All is well with the world. Apparently all three of my sites got corrupt WordPress core files during the upgrade process, which is why I assumed it was due to the newer version of WP. I do not know exactly what the file is that causes this problem, but it’s so easy to replace the core files that I did not feel the need to dig deeper.

    Thank you Martin Jackson for responding. However, for your and others information, I have gone through a re-install of 4.6.1 and redone the operation to upload and select an image for the header image but it still failed. Was reinstalling the correct process?

    Thread Starter martinjacobson

    (@martinjacobson)

    Well, that’s what worked for me. Any other information you can give us?

    More information? Well, if you want full symptoms:
    – If I click Media Library, I get a blank page even though I should be seeing 2 to 3 pages of images. Like the documented issue, if I click on List view rather than grid view, I get my list.
    – When i try to add new image to Header image, the Media Library shows the aforementioned blank page while spinner spins and spins. There is no way to click list view so it’s stuck. I can though click Upload Files. When I select an image from disk, it loads into the media library and I can click Select and Crop and either slect Crop of skip crop and the image appears back in the Header Image dialog as well as in the web page shown. Upon clicking Save and Publish, it never shows up in the resulting actual web page.
    – When i later go to the list view in the media library I can see the dozens of copies that I have uploaded over the last few days of trying this and they are in the uploads/2016/10 directory on my web site.

    Jon (Kenshino)

    (@kenshino)

    Lord Jon

    As the thread starter has solved his issue and clearly other people are having different issues (with the same result), do start your own threads.

    Closing this.

Viewing 14 replies - 31 through 44 (of 44 total)
  • The topic ‘Media Library won't load display images’ is closed to new replies.