• Resolved Sharon

    (@bilby238)


    Hi there,

    Bit of a strange issue has popped up. I have the following in my child theme php and it was working well. Images were the correct size.

    add_image_size('yarpp-thumbnail', 105, 150, true);
    
    define('YARPP_GENERATE_THUMBNAILS', true);

    This is working perfectly for images that are “old” (ie. that were in my media folder when I asked YARPP to display thumbnails), but new images that I add for new posts are being distorted within the YARPP display. The pic of the Honeydew Apple Juice here, for example, is one that I’ve just added this morning.

    Is there a way around this?

    Regards,

    Sharon

    https://www.ads-software.com/plugins/yet-another-related-posts-plugin/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author YARPP

    (@jeffparker)

    You shouldn’t need the define('YARPP_GENERATE_THUMBNAILS', true); if you already have the add_image_size line. Please try removing define('YARPP_GENERATE_THUMBNAILS', true); and seeing if it fixes future image uploads. Thanks!

    Thread Starter Sharon

    (@bilby238)

    Hey Jeff,

    thanks for getting back to me, and sorry for my delayed response. I’ve removed

    define('YARPP_GENERATE_THUMBNAILS', true);

    from my php but it doesn’t seem to have changed things. New images are stretched, but the old ones are perfect….

    Thread Starter Sharon

    (@bilby238)

    Hi,

    Sorry to be a pain. Since my last post where I mentioned that I’d removed the php as discussed, I’ve also attempted to regenernate the “offending” thumbnails using Regenerate Thumbnails.

    This doesn’t seem to have worked either. Wondering if anyone might have suggestions as to anything else I could try.

    Regards,

    Sharon

    Plugin Author YARPP

    (@jeffparker)

    Our latest release may be overriding your setting perhaps. The YARPP thumbnails on your site are actually 84 x 120, which is even smaller than the 105 x 150 you listed at the top of this thread.

    I’d recommend editing the add_image_size line and then running Regenerate Thumbnails for all posts at the 84 x 120 size. Please back up your site beforehand.

    Hope this helps.

    Thread Starter Sharon

    (@bilby238)

    Hey Jeff,

    Sorry it took me so long to reply. I tried your suggestion and it seems to have worked. Thanks very much.

    Regards,

    Sharon

    Plugin Author YARPP

    (@jeffparker)

    Glad to hear!

    Thread Starter Sharon

    (@bilby238)

    Hey Jeff,

    Sorry to comment on a post I had previously closed but just wanted to add an update.

    Over the last week or so, I’ve noticed the “Regenerate Thumbnails” no longer worked (for reasons unknown….??). My images in Yarpp were continuing to be completely distorted. So I downloaded and ran Simple Image Sizes.

    This has worked perfectly where “Regenerate Thumbnails didin’t. I just wanted to let you know in case you run across anyone else with the same issue.

    Cheers,

    Sharon

    Plugin Author YARPP

    (@jeffparker)

    Thanks for letting me know, Sharon. I’ll also recommend Simple Image Sizes in the future.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Distorting new thumbs but old ones remain perfect’ is closed to new replies.