• Resolved purrdesign

    (@purrdesign)


    Just updated to 3.1, and now the thumbnail size in one of my popular widgets is showing incorrectly. The first widget (in sidebar) is set to show 60px square thumbnails. The second (in footer) is set to show 130px square.

    I have cleared the plugin caches and data, removed and re-added the plugin, cleared site caches, and still the wrong size is loading in the second widget.

    Removing the first widget seems to resolve the problem, the footer widget shows the correct size. Is this new version not set up to handle two different instances of the widget? It worked before the upgrade, showed the two different sizes properly.

    Please advise.

    https://wordpress.org/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi there!

    Thanks for the notice. I’ll be away for around two-three hours, will check this as soon as I get online again.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Found the problem. A plugin update will follow soon!

    Thread Starter purrdesign

    (@purrdesign)

    Awesome, thanks!

    Unrelated issue (and I had this issue with previous versions as well) is I can’t see to upload a default thumbnail. I click upload thumbnail, upload my image (or select from existing, I’ve tried both), click Insert Into Post, and then the preview shows a broken image. Seems to be linking to “wp-admin/undefined” instead of the image. After clicking Apply it disappears and goes back to the No Thumbnail default. Any ideas on how to resolve? Not a huge deal as I don’t have many posts without featured images, but still annoying nonetheless.

    Plugin Author Hector Cabrera

    (@hcabrera)

    That’s weird. I just tested on localhost and was able to change the thumbnail image.

    The file is uploaded to your Uploads/[current year]/[current month], just as any other image. The preview image on the Upload file lightbox is also broken?

    Thread Starter purrdesign

    (@purrdesign)

    No, it loads just fine when I upload it. Just when I hit Insert Into Post, it shows up broken.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Then WPP’s JS is failing to capture the new thumbnail URL.

    Do you use Google Chrome (or Firefox)? If so, try the following:

    1. Go to Settings > WordPress Popular Posts > Tools.
    2. Right click anywhere on the page, and hit Inspect element.
    3. On the bottom window that just emerged, go to Console.
    4. Upload a new image (or pick an existing one), then hit Insert into post.

    Hopefully, you’ll see an error message (in red) on the Console that should hint what the problem might be.

    Thread Starter purrdesign

    (@purrdesign)

    Nothing in red, but this is what the console is telling me (substituted mysite.com for actual domain):

    GET http://www.mysite.com/wp-admin/media-upload.php [HTTP/1.1 200 OK 1550ms]
    GET https://d2lbmhk9kvi6z5.cloudfront.net/plugin/js/cos-plugin-new-window.js [HTTP/1.1 304 Not Modified 32ms]
    GET http://www.mysite.com/wp-admin/media-upload.php [HTTP/1.1 200 OK 963ms]
    GET https://d2lbmhk9kvi6z5.cloudfront.net/plugin/js/cos-plugin-new-window.js [HTTP/1.1 304 Not Modified 20ms]
    POST http://www.mysite.com/wp-admin/media-upload.php [HTTP/1.1 200 OK 583ms]
    GET http://www.mysite.com/wp-admin/undefined [HTTP/1.1 404 Not Found 471ms]

    Plugin Author Hector Cabrera

    (@hcabrera)

    I’m out of ideas. Could it be another plugin interfering? Are you using a caching plugin? If so, try disabling it for a moment and repeat the process.

    If that doesn’t help, then I’d need access to your site -if you don’t mind, of course- to check what’s going on.

    The alternative would be to simply replace the default thumbnail image with your custom one directly at wp-content/plugins/wordpress-popular-posts.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Just released WPP 3.0.2, which should fix the thumbnail sizes issues you reported 🙂 Please let me know if you encounter any issues with it.

    The other problem you reported -assigning a new default thumbnail- still needs attention, and since I’m unable to reproduce the problem I need your help to figure out what’s going on.

    Thread Starter purrdesign

    (@purrdesign)

    Yes, new version fixes the thumbnail size issue.

    I’m still trying to troubleshoot and figure out what might be causing the upload issue. Luckily it’s not a huge deal.

    Thanks for the prompt fixes and the continued development on this wonderful plugin!

    Plugin Author Hector Cabrera

    (@hcabrera)

    I’d be glad to help you debug the problem, but for that I’d need access to your site or at least know what plugins and theme (and their configuration) are installed on your WordPress blog in order to try to reproduce the issue.

    For the time being, since the original topic of this conversation has been fixed, I’m marking this as resolved.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Thumbnail Sizing with Two Widgets’ is closed to new replies.