WordPress Animated GIFs
Using an animated GIF in a WordPress post/page or as the featured image of a post/page might be a problem.
The Problem
The issue is that the animated GIF loses it’s animation and becomes static. The reason for this is because WordPress doesn’t take the original animated GIF when you choose the featured image or insert an image, it uses a resized version which has been processed.
The Solution
For inserting images into posts/pages, simply choose “Full Size” which will insert the original, animated GIF.
When using an animated GIF for the featured image of a post/page, you shouldn’t set the featured image and make the animated GIF the first image in the post/page which will allow most WordPress themes to pick it up as the featured image automatically and use the original.
Please note that if your theme doesn’t automatically detect the first image as the featured image, there are several plugins which can do this for you such as Automatic Featured Image Posts and Autoset Featured Image for example.
The Result
Here is a quick preview of what the post excerpt looks like with the animated GIF featured image:
I am the owner at Tribulant Software and I have a great passion for WordPress, development, blogging and the Internet in general. Building useful plugins to improve WordPress’ functionality is my goal.
Website & Email Hosting
Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.
Thank you!! That finally resolved my problem!!
And without any strange plug-ins!! 🙂
You’re welcome, I’m glad to hear that it helped you.
[…] Read More […]