• Hi. This is a very interesting bug. But first, let me thank you for an amazing plugin. I am using the Pro version for a client and it has allowed me to create for them a magazine-style front page with dynamically-generated content. Your plugin is by far my favorite! 🙂

    Ok so here is the bug…

    Essentially, when the feature image of an article has the same name as a previous, earlier-saved image in the media library, the plugin displays that earlier image, rather than the image set as the featured image of the post.

    This is very strange because the wordpress media library saves every image inside its own unique folder based on the date the image was uploaded to the library. Yet the directory structure doesn’t seem to matter and the plugin is still, nonetheless, grabbing the first image with the matching name. So for example, if the actual featured image of the post is:

    http://www.popularresistance.org/wp-content/uploads/2014/01/1fuk.jpg

    But there exists an earlier post with a featured image such as this:

    http://www.popularresistance.org/wp-content/uploads/2013/10/1fuk.jpg

    Then the plugin displays the featured thumbnail associated with the earlier post.

    It appears this has something to do with the caching system the plugin uses, because when I click to view the image alone, this is url that comes up:

    http://www.popularresistance.org/wp-content/plugins/special-recent-posts-pro/cache/MTcwMTcwbm8xZnVr.jpg

    My guess is that you haven’t discovered this bug because not many websites have as many daily posts as this one. They post 15-20 articles a day, each with a featured image grabbed off the net. This is why so many of the images have the same filename.

    In any case, perhaps you can tell me a work-around to this problem. Due to the caching issue, even when we manually rename the image in the WP media library, it continues to show the wrong photo. Aside from a workaround, I guess we’ll have to wait for a plugin update.

    Again, thanks for a great plugin, and let me know if there’s anything I can do to get around this issue.

    Emanuel

    http://ww.wp.xz.cn/plugins/special-recent-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Luca Grandicelli

    (@lgrandicelli)

    This has nothing to do with the folder structure but with the wordpress database, where the name of the image is stored. I understand this is a bug in the end, but for now just rename the new file and you shoudl be ok.
    Thank You.

    Thread Starter emanuel-sferios

    (@emanuel-sferios)

    Hi Luca,

    First off, that does not work. We tried renaming the image file, but the plugin still uses it’s cache to display the old image. Also, it’s not possible for us to cross-check the image names of all the images we post on a daily basis. These images are grabbed from all over the web, and many simply have the same name. For example, a picture of Edward Snowden is likely called “snowden.jpg.” What I can do is tell my clients to toss in an extra few characters to each filename before uploading for the first time. That’s doable for us. It’s not a huge problem. Mostly I was telling you about this for your benefit. It’s a small bug in an otherwise perfect plugin. We love it. Check out our site to see how we use it to create a magazine-style front page.

    http://www.popularresistance.org

    Anyway thanks. We’re now starting to use Go Portfolio too. 🙂

    Emanuel

    Plugin Author Luca Grandicelli

    (@lgrandicelli)

    Alright, that’s a very nice website. Proud of it 😉
    Anyway have you ever tried to empty the cache folder? Just asking..

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wrong thumbnail being displayed’ is closed to new replies.