• Resolved David

    (@dlongdon)


    This website is hosted by WordPress Engine (WPE).

    In order to reduce storage capacity, and based on their recommendation, I implemented AWS S3 storage.

    After that implementation, thumbnails for ‘WordPress Popular Posts” stopped appearing, and a default image appears instead.

    WPE spent some time trying to troubleshoot and did find a workaround as long as the list popular posts doesn’t change. But the list does change, and when it does, the placeholder image shows up.

    WordPress Popular Posts is on the lower half of the home page of this site. At the moment the top post has a default thumbnail instead of the set featured image.

    Thanks,
    David

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @dlongdon,

    Yeah, the plugin expects images to be in the wp-content/uploads directory as that’s where “stock” WordPress stores its images. When WPP doesn’t find them -in this case because you moved your images to AWS- then you get that “No thumbnail” image.

    Not really familiar with AWS in general nor know how you’re integrating your site with it but give this a try:

    1. If it doesn’t exist already, create a new image size and set its width and height to your preferred size (eg. 150px and 150px).
    2. Install the Regenerate Thumbnails plugin by Alex Mills, then go to Tools > Regenerate Thumbnails and follow the instructions to rebuild your site’s thumbnails. Note that this might take a while if you have lots of images.
    3. Next, go to Appearance > Widgets > [Your Sidebar] > WordPress Popular Posts, scroll to the “Display post thumbnail” checkbox, select the “Use predefined size” option that you’ll find right under that checkbox, pick your newly created image size, and finally click on Save to apply changes.
    4. If you have a caching plugin installed, flush its page cache afterwards.

    You may or may not need to do additional things to get this working so give it a shot and let me know how it goes.

    Alternatively, you may also want to try and see if there’s a way to exclude your WPP thumbnails from being uploaded to AWS and keep them on your /wp-content folder (WPP’s thumbnails are small anyways and shouldn’t take a lot of disc space, you won’t be gaining much by uploading them to AWS IMHO.)

    Thread Starter David

    (@dlongdon)

    Hi @hcabrera :

    Regenerating the thumbnails with the regenerator plugin seems to have solved the problem.

    Thanks!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Awesome! Thanks for reporting back.

    Thread Starter David

    (@dlongdon)

    Hi @hcabrera

    Actually, I’m seeing this issue again.

    Scroll down the websites’ home page to the Popular Posts section.

    The post at the bottom of the list is missing its thumbnail. I have:

    1. reset the Featured Image

    2. Regenerated Featured Image thumbnails only

    3. Regenerated all thumbnails

    Thoughts?

    Thanks,
    David

    Plugin Author Hector Cabrera

    (@hcabrera)

    From the source code of the page I noticed that your popular posts are still using WPP’s thumbnails instead of the “stock” WordPress thumbnails. You can tell because the class attribute of the <img /> tag is missing the CSS classes WordPress adds to the thumbnails it generates.

    Have another look at the instructions I shared above and make sure that you didn’t miss anything.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbnails Missing after AWS S3 Implementation’ is closed to new replies.