• Resolved ojobson

    (@ojobson)


    I have visible thumbnails in the Media management page (upload.php), but when I try to add media from the post writing page (post.php) the media selection/upload page overlay does not show any thumbnails. I can select and use the files but there is no thumbnail image visible.

    Once the image is added to my post, the image does not appear in the visual editor.

    I have tried changing the permissions of the uploads folder and it’s contents to 777.

    I have tried installing a plugin to refresh the thumbnails, but this didn’t work. I removed it.

    I found this post that raised the possibility of it being caused by the lack of the GD extension. I have added this in to the PHP.ini and I now see a full GD section in the output of phpinfo(). The problem persists.

    I have reinstalled the latest version of wordpress (copying over the ‘wp-‘ files and folders to my site folder).

    I have tried disabling all plugins and cacheing.

    This is really starting to get annoying now. Can anyone help?

    • This topic was modified 6 years, 6 months ago by ojobson.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ojobson

    (@ojobson)

    Update – my site uses SSL and after looking at the text view of the post body on post.php I can see the img tags are referencing http urls in the ‘src’ value. If I change the link to https then the images appears in the visual editor as it should.

    So I have a hypothesis that the media management tool available on post.php is using http references to the image files. How I can I tell wordpress to use https here?

    • This reply was modified 6 years, 6 months ago by ojobson.
    Thread Starter ojobson

    (@ojobson)

    Update 2

    So, when I originally moved over to https I added the following to config.php

    define('WP_SITEURL', 'https://siteurl.com');

    I removed this and in settings > general the value for site address changed back to https://siteurl.com.

    I changed this to https, saved the changes and hey presto, the add media button is up an running – all media thumbnails are showing and when I add media to the posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No thumbnails visible when adding media to post’ is closed to new replies.