How To Fix “Gif Not Working” In WordPress (Easy Fix)

If you ever used GIFs in your posts, you might have come across an issue of the GIF not playing.

The GIF is properly uploaded to the website but it doesnโ€™t animate. While the issue can be quite frustrating, the solution is very simple.

The reason why your GIF is not working in WordPress is that when you upload a GIF to WordPress, it gets resized.

Depending on your WordPress theme, any image or GIF you upload on your website gets resized into various sizes. In such cases, your GIFs also get resized.

And when GIFs are resized in WordPress, they donโ€™t animate because after downsizing the GIF, the animation properties of it get destroyed.

So, how do you fix this problem?

Iโ€™m sure youโ€™re wondering, youโ€™d have to change your WordPress theme so that your GIF doesnโ€™t resize.

But thatโ€™s not the right solution to such a simple problem.

Hereโ€™s how you can fix your GIFs not working in WordPress.

How To Fix โ€œGif Not Workingโ€ In WordPress

As I mentioned above, the fix to this problem is very simple. In fact, there are two methods to fix this problem.

Building your site with the WordPress block editor? Ultimate Blocks adds extra blocks like FAQ accordions, tabs, table of contents, buttons and review boxes, so you can design better pages without code.

The first method is the one that should fix the issue but if it doesnโ€™t, we have another method you can try.

Hereโ€™s the first method:

1. Select โ€œFull Sizeโ€ Image Option

When you upload your GIF in WordPress, go to the image settings of the GIF, and under the image size option, select โ€˜Full Sizeโ€™.

This will load the full-size image you uploaded and not the resized versions of the GIF. This will fix your issue and your GIF will animate

If you want to resize the image but want to GIF to be animated, resize the image from ‘Image Dimensions’. You can change the width and height there. You can also change the image size percentage-wise.

2. Check If โ€˜Image Optimization Pluginโ€™ Is Resizing The Image

Sometimes, even after setting the image size to โ€˜Full Sizeโ€™ will not fix the issue and your GIF will not animate.

This is mostly because of image optimization plugins that resize the image. Many popular image optimization plugins resize the images even after you explicitly set a size for the image.

These plugins take precedence over any of the settings you made to your image which results in the images getting resized.

To ensure your images are not being resized by any image optimization plugin, go to the settings of the plugin and disable the option of resizing images.

This setting may vary from plugin to plugin and but itโ€™s available in every image optimization plugin.

Once you disable this option, check if your GIF is now animating.

After applying the two given fixes, your GIF will most likely animate and youโ€™ll never run into this kind of issue again.

Conclusion

Fixing the issue of GIF not working in WordPress is very simple as seen from the above two solutions.

The culprit of this issue is resizing GIFs as it can destroy the animation capabilities of the GIF. If you avoid resizing your GIFs, youโ€™ll never face such a problem again.

But if your GIF is still not animating even after applying the above methods, do comment below with more details.

Iโ€™d be happy to help you out and fix your problem.

Found this helpful? See more of us on Google.

Add UltimateBlocks.com as a preferred source and our WordPress guides will show up more often in your Top Stories, AI Overviews and AI Mode.

Add us on Google

Free, one tap, remove anytime

7 responses to “How To Fix “Gif Not Working” In WordPress (Easy Fix)”

  1. zac Avatar
    zac

    Thanks for the solution.
    It really helps me a lot. It’s working in my WordPress website.

  2. Tal Avatar
    Tal

    Thanks! This worked!

  3. Kera McHugh Avatar
    Kera McHugh

    ahhh… thank you!

  4. Maxime Avatar
    Maxime

    Thanks a lot! Very simple ๐Ÿ™‚ In one second I solved the issue I had been pondering for 1 week!

  5. CM Avatar
    CM

    Hi I tried the Full Size method, but its still not working.

    I don’t have any image optimization plugins too.

    Is there any other method to make the gif animate?

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      It’s actually tough to say what could the actual reason without checking it thoroughly.

      But I’d like to share one tip –

      You can make your video works like gif in the Gutenberg editor. After uploading the video, check ‘Autoplay’ and ‘Loop’ from Video settings. And it will work like GIF.

  6. Venkat Randa Avatar
    Venkat Randa

    Gif images are very important. these explains the things very easily. visual explanation is better in these days.
    sometimes these gif images on WordPress come to this type of issues. you explained it very well to solve this issue.

    Thank you for this awesome post.

    keep come up with this awesome stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *