How to Add GIFs in Shopify (2026)

Last updated
Expert reviewed
5 min read
Jacques Blom
Jacques Blom
CTO at Fudge.

Key takeaways

  • Shopify supports GIF upload in product media, page content, and Theme Editor image blocks.
  • GIFs autoplay automatically wherever they’re embedded.
  • Compress GIFs before uploading - uncompressed GIFs can be very large. Use ezgif.com.
  • For hero sections and large displays, an MP4 video is usually the better choice for performance.

GIFs are a quick way to show a product in motion, demonstrate a feature, or add a subtle animated accent to your store. Shopify supports them natively - here’s where and how to use them.

Why you can trust us

We’ve built and customised hundreds of Shopify storefronts. We also built Fudge - an AI storefront editor with a 5.0 rating on the Shopify App Store.


How to add a GIF to a product page

Step 1. Go to Products > select your product > scroll to the Media section.

Step 2. Click Add media and upload your GIF file.

Step 3. The GIF appears in the product gallery alongside your static images. When customers click on it, it plays in the full-size lightbox.

Step 4. Drag to reorder if needed. Save.

The GIF will autoplay in the gallery thumbnail and full view. There’s no play button or pause control - it loops continuously.


How to add a GIF to a Shopify page or blog post

Step 1. Go to Online Store > Pages (or Blog posts) and open the page you want to edit.

Step 2. In the rich text editor, click the Insert image button (the photo icon in the toolbar).

Step 3. Upload your GIF or select it from the file library.

Step 4. The GIF is inserted inline in the content and will autoplay when the page loads.


How to add a GIF via the Theme Editor

In the Theme Editor, wherever you see an Image block or section, you can upload a GIF just as you would a static image.

Step 1. Go to Online Store > Themes > Customize.

Step 2. Click the section or block where you want the GIF.

Step 3. In the image selector, upload your GIF or choose it from your files.

Step 4. Save.

The GIF will autoplay in that position on the storefront.

Want a custom animated section on your store? Describe it to Fudge.
Try Fudge for Free

GIF file size - why it matters

GIFs are notoriously large files. A 5-second animation at 800px wide can easily exceed 10MB if uncompressed. Large GIFs cause:

Always compress GIFs before uploading. Use ezgif.com - it’s free, requires no account, and lets you reduce colours, resize, and cut frames to dramatically reduce file size. Aim for under 2MB for any GIF you use in a product gallery or page content, and under 500KB for small inline GIFs.


GIF vs MP4 for animated content

For large animated areas - hero backgrounds, full-width banner animations, product demos that run more than 3 seconds - MP4 video is almost always the better choice.

A 5-second looping video clip in MP4 format is typically 80-90% smaller than the equivalent GIF, loads faster, and looks sharper. MP4 also supports sound and runs more smoothly on mobile.

Use GIFs when:

Use MP4 when:


Hosting GIFs externally

Shopify’s file storage is generous but not unlimited. If you’re using many GIFs, you can host them externally (e.g., on Giphy, Cloudinary, or your own CDN) and embed them using their URL.

In the Theme Editor’s image blocks, this typically requires code to embed a URL-based image rather than using the standard file picker. Describe this to Fudge if you need it.

Jacques's signature
Add animated content to your Shopify store — just describe what you want.

You might also be interested in

How to Add a Hover Image on Shopify Product Cards (2026)
Show a second product image when customers hover over product cards in Shopify. Covers native theme settings, which themes support it, and code options.
How to Add Alt Text to Images in Shopify (2026)
Learn how to add alt text to product images, theme images, and blog images in Shopify. Why it matters for SEO and accessibility, and how to write it well.
How to Compress Images in Shopify (2026)
LearnhowtocompressandoptimiseimagesinShopifytospeedupyourstoreandimproveSEO.Besttoolsandimagesizeguidelinesfor2026