How to Add GIFs in WordPress in 2 Methods

Advertisements

Adding animated GIFs to WordPress is quite simple. The steps are very similar to adding a regular image, regardless of whether you’re using the Classic Editor or the Gutenberg Block Editor.

In short, a GIF is a silent, moving image. When creating an article, GIFs are particularly useful for demonstrating tutorials, giving readers a clearer picture of the steps involved.

Along with features like a table of contents in WordPress, embedding GIFs can increase the time users spend on your page. This can help your SEO efforts by lowering your bounce rate.

So, how do you add a GIF to a WordPress article? And what should you do if you’ve inserted an animated GIF, but it isn’t playing? Let’s dive into the full guide!

Advertisements

How to Add GIFs in WordPress Easily

Depending on the editor you use, there are two primary methods for adding a GIF to WordPress: one for the (1) Classic Editor and another for the (2) Gutenberg Block Editor.

You can add GIFs to WordPress whether you’ve installed WordPress on a localhost or are working on a live site with a hosting plan. Let’s get started with the tutorials!

a. Adding a GIF Image with the WordPress Classic Editor

To add an animated GIF in the WordPress Classic Editor, the steps are the same as adding a standard image using the Add Media feature.

  1. Open the post or page where you want to add the GIF and click Add Media.
    How to Add GIFs in WordPress Easily
  2. In the Add Media window, click Upload files > Select Files to choose your GIF.
    How to Add GIFs in WordPress using classic editor
  3. Select the GIF you want to add to your website or article and click Open.
    How to Add GIFs in WordPress using classic editor
  4. Fill in the image attributes like Alt Text, Title, and Caption. In the Size section, make sure to select Full Size. This step is crucial to ensure the GIF animates correctly. Once done, click Insert into post.
    How to Add GIFs in WordPress using classic editor
  5. That’s it! The GIF image is now embedded in your article.
    How to Add GIFs in WordPress using classic editor
  6. Before publishing, you can check how it looks by clicking Preview.

The method above is for those using the Classic Editor. If you’re a Gutenberg user, follow the next section.

Advertisements

b. Adding an Animated GIF with the WordPress Block Editor (Gutenberg)

One of the reasons many people use the Gutenberg block editor is the ease with which you can manage website functions and appearance, even creating a homepage with Gutenberg.

If you’re a Gutenberg user, follow these steps to add a GIF:

Adding an Animated GIF with the WordPress Block Editor (Gutenberg)

  1. Open an article, click the [+] icon where you want to add the GIF, type image into the search box, and select the Image block.
  2. Next, click Upload, select the desired GIF image, and click Open.
  3. To see the result, click Preview.
  4. Done! You have successfully inserted a GIF into your WordPress article.

However, in some cases, an animated GIF that has been added to an article may not play as expected. This is a common issue. So, how do you fix it?

How to Fix Animated GIFs That Don’t Work in WordPress

If your animated GIF isn’t playing, a common issue—especially for users of the WordPress Classic Editor—is that WordPress resizes it, which can turn it into a static image.

The solution to a non-playing GIF in WordPress is to use its original image size. You can do this by selecting the Full Size option when you upload or edit the image. Here are the steps:

  1. Open the GIF you uploaded via Add Media. Click on the image in your editor.
  2. Look at the Attachment Details pane on the right and scroll to the bottom.
    How to Fix Animated GIFs That Don’t Work in WordPress
  3. Click on the Size dropdown and select the Full Size option.
  4. That’s it! You’ve successfully fixed the non-animating GIF.

If the method above doesn’t work, the problem might be caused by an image optimization plugin you are using. If this is the case, you can try temporarily deactivating the plugin to see if it resolves the issue.

Advertisements

Have You Successfully Added Your Animated GIF in WordPress?

This guide has shown you two ways to add animated GIFs to WordPress, based on whether you use the Classic Editor or the Gutenberg editor.

By using GIFs, your articles have the potential to be more engaging for readers. Furthermore, GIFs can serve as a more effective and lightweight media alternative.

To better organize your content before publishing, you can also try writing your WordPress articles by taking notes in Obsidian first.

If you have any further questions about WordPress or related topics, feel free to contact Tonjoo‘s support or leave a message in the comments section below!

WordPress .htaccess File Missing? Here's How to Fix It


For more articles on WordPress, WooCommerce, and web development, check out Tonjoo Studio Blog by Moch. Nasikhun Amin.


 

Last Updated on February 22, 2026 by Moch. Nasikhun Amin

Share to:
Archived under:
Moch. Nasikhun Amin
Written by

Moch. Nasikhun Amin

Moch. Nasikhun Amin is an SEO Technical Writer at Tonjoo with over 3 years of experience. He specializes in creating in-depth content focused on WordPress, WooCommerce, and Web Development. To ensure technical accuracy, each content undergoes testing and review by Tonjoo’s software engineering team.

Advertisements

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.