Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    I am so sorry for my late reply… I have actually skipped your message completely. Just noticed it now.

    That’s a bit strange, it’s supposed to follow the rules set up by the image sizes. Do you think you could reproduce this on a blank install, without your theme, by setting those sizes manually (in settings > media)?

    Thread Starter 5AMWE5T

    (@5amwe5t)

    Do you think this problem could be caused because I am using custom image sizes that I added in the functions.php?

    Plugin Author Jordy Meow

    (@tigroumeow)

    You can (and should) add your custom image sizes in your functions.php. That’s perfect. But could you copy paste the code you are using? There is a crop parameter that needs to be set as well.

    I would like to try your code on my install and see how it behaves.

    Thread Starter 5AMWE5T

    (@5amwe5t)

    This is the code I am using in the functions.php.

    // Add featured image support
    add_theme_support('post-thumbnails');
    add_image_size('small-thumbnail', 300, 180, true);
    add_image_size('sidebar-thumbnail', 70, 70, true);
    Plugin Author Jordy Meow

    (@tigroumeow)

    Sorry, I should have asked you for more details.

    What are your other media sizes, medium and large? And could you tell me what is the original size of the image you upload to get this result? I want to replicate exactly.

    Thread Starter 5AMWE5T

    (@5amwe5t)

    The media sizes are:

    Thumbnail size – 70 x 70
    Medium size – 300 x 300
    Large size – 1024 x 1024

    I am currently not using the ‘sidebar-thumbnail’ that I have in the functions.php because it is the same size as the Thumbnail size in the media settings. However, I tried using the ‘sidebar-thumbnail’ as my thumbnail image instead and the problem still exists, so I don’t think it matters.

    And the image I uploaded was this. However, this is happening to images of all sizes.

    Plugin Author Jordy Meow

    (@tigroumeow)

    I have just tried but it works fine. Of course I tried this before and I have also many custom sizes on my websites so I kind of knew it works but I wanted to check with your settings.

    Something else is happening but I have no idea why. The re-sizing process for the retina images is the same as the one for the normal images.

    Do you have another install of WP somewhere that is using a different theme?

    It might be an irrelevant questions but are you using the last version of the plugin? One year ago or so there was this problem, yeah, but not now since I am doing it the same as for the normal images. It should get exactly the same results. Of course something can go in between and change that, another plugin for example.

    Thread Starter 5AMWE5T

    (@5amwe5t)

    I don’t have another WordPress installation to test on unfortunately. Also I am using the latest version of the plugin. I will try disabling plugins one by one to see if one of them is affecting it.

    Thread Starter 5AMWE5T

    (@5amwe5t)

    I figured out what is causing this issue. I had a plugin installed called Animated GIF Resize. For whatever reason this is what was affecting the images and once I deactivated this and regenerated the images they all looked fine.

    Plugin Author Jordy Meow

    (@tigroumeow)

    This plugin isn’t it supposed to only affect GIF? Maybe you should let the author know about this.

    I am thinking of adding this in my FAQ but at the same time it seems the plugin is dead (no support, no update).

    Thread Starter 5AMWE5T

    (@5amwe5t)

    Now that I got rid of the Animated GIF Resize plugin, some of my GIFs that were resized with WP Retina 2x are not animated anymore. Is there an option in WP Retina 2x to disable resizing for GIFs or other file extensions? I think this would be a useful feature.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Actually the image sized by WordPress and by the plugin are going exactly through the same process.

    Try to upload a new GIF through your Media Manager. Are your normal sizes (thumbnail, medium, etc) work? I am not sure… Then the retina wouldn’t work neither…

    I believe the pb is related to WordPress (I mean, is it? WordPress doesn’t support that? I am a bit surprised, but just a bit). Then the plugin you were using seemed the best solution except it is not supported anymore.

    But I suspect that people using GIF don’t use any of the image sizes and use the GIF full-size.

    Thread Starter 5AMWE5T

    (@5amwe5t)

    Well right now with the GIF resize plugin disabled WordPress is somehow resizing GIFs to both my small-thumbnail and sidebar-thumbnail sizes while retaining the animation. I’m not sure why this is happening as I thought any GIF resized with WordPress would lose animation but I guess not.

    However, the GIFs that I uploaded that are large enough for WP Retina 2x to create a retina version are not animated. Does this make sense?

    For example, I upload a GIF that is 480 x 266. WP Retina 2x is unable to create the small-thumbnail size (300 x 180), so it displays the standard resolution version which is still animated somehow. However, WP Retina 2x can create a retina version of the sidebar-thumbnail size (70 x 70), so it displays that version which is not animated.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Do you mind sharing with me your big GIF? Sorry I didn’t use GIF for a while and would prefer to use exactly your GIF to make sure I am testing the right format on it. I will try to use retina with it on my install. If the resizes image by WP works but not the one that go through Retina it might be pretty easy to fix. But it’s weird since I am really using the WP process for this…

    Please send it at apps(at)meow.fr ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Some image sizes are distorted?’ is closed to new replies.