10 Image Optimization Tips for Your Ecommerce Site in 2024 (2024)

In a world of instant gratification, it’s crucial for businesses to keep the customer experience moving with a fast-loading ecommerce website. Research shows that if an ecommerce site loads slower than expected, visitors are less likely to make a purchase. Often, the main culprits of a slow website are large, under-optimized images.

While image quality is certainly important for creating great product photography, image optimization is the real secret to building a successful online store. Learning how to optimize images can yield big rewards, from reducing site load times to enhancing your brand to attracting shoppers perusing Google images.

What is image optimization?

Image optimization is about reducing the file size of your images as much as possible, without sacrificing quality, so your page load times remain low. It’s also about image SEO—that is, getting your banner and product images to rank highly on Google and other image search engines.

Image optimization means ensuring your images look flawless on desktop and mobile. And that they don’t hinder web performance.

The goal of image optimization is to create high-quality images with the lowest file size. Three main elements play a role here:

  1. Image file size (JPEG vs. PNG vs. WEBP images)
  2. Image compression level
  3. Image height and width

By finding the balance between the three, you can reduce image size and improve website performance.

Why do we optimize images?

Images are the largest contributor to overall page size, which makes pages slower to load. Data from HTTP Archive reveals that unoptimized images make up 75% of a total webpage's weight, on average. This can have a negative impact on your website performance.

Image optimization helps lower your webpage’s weight and is a core tenet of good ecommerce web design, which results in the following benefits:

Improved website speed

Image optimization for web and mobile exists to make web pages load faster. They create a better browsing experience for shoppers. Should there be a mere two-second delay in your page speed, your bounce rate can increase by 103%.

Page speed is how fast content on your page loads. It’s often described as:

  • Page load time, or the time it takes to display the content on your page.
  • Time to first byte, the number of milliseconds it takes for your browser to receive the first byte of information from your webserver.

Google has suggested that site speed is one of the signals used by its algorithm to rank pages. Research from Moz shows that Google may specifically measure time to first byte when it considers page speed. A slow page means search engines crawl fewer pages with their crawl budget, which can negatively affect your indexing.

Better browsing experience

Page speed is important to a visitor’s experience. People can detect delays as short as 1/10th of a second. Anything longer than that doesn’t feel “instant.” Delays of one second are enough to interrupt a person’s thought process.

The BBC found that for every extra second of page load time, 10% of users will leave.

Pages with a longer load time tend to have higher bounce rates and lower average time on page. Reducing page load times by even one second will improve your user’s experience. Improved user experience and interactions with your site have a positive impact on search engine rankings, which can improve engagement, conversions, and customer retention.

Improved search performance

Optimized images help both readers and search engines understand your website better and get your content seen online. Recent data shows that images are returned for 32% of search queries on Google. Image optimization can help rank your images in Google’s Image Search, which can bring more traffic to your website and build your brand.

What’s more, visual search is becoming more important, as seen with Google introducing a new search function that combines images and text into one query. Some 62% of Gen Z and millennial consumers want visual search more than any other new technology.

How to optimize images for the web

1. Use concise and direct image names

It’s really easy to upload images to your website and keep the default file names your camera assigns. But when it comes to image SEO, it’s important to use relevant keywords to help your webpage rank on search engines.

Creating descriptive, keyword-rich file names is crucial for image optimization. Search engines not only crawl the text on your webpage, they also crawl your image file names.

Take this image, for example.

10 Image Optimization Tips for Your Ecommerce Site in 2024 (1)

You could use the generic name your camera assigned to the image (e.g., DCMIMAGE10.jpg). However, it would be much better to name the file 2012-Ford-Mustang-LX-Red.jpg.

Think about how your customers search for products on your website. What naming patterns do they use when they search? In the example above, car shoppers may search terms like:

  • 2012 Red Ford Mustang LX
  • Ford Mustang LX Red 2012
  • Red Ford Mustang LX 2012

Look at your website analytics to see what keyword your customers use to find you. Determine the most common naming patterns they use and apply that formula to your image file naming process.

If you’re not going to get that data-driven, be sure to use relevant, helpful keywords when naming your images (i.e., try to be descriptive).

Check out this Q&A from Moz to understand the importance of strategically naming the image files on your site. It can definitely improve your on-page SEO, it can also help your pages and images rank higher on search engine results pages (SERPs).

2. Optimize your alt attributes carefully

Alt attributes are the text alternative to images when a browser can’t properly render them. They’re also used for web accessibility. Even when the image is rendered, if you hover over it, you will see the alt attribute text (depending on your browser settings).

The alt attribute also adds SEO value to your website. Adding appropriate alt attributes that include relevant keywords to the images on your website can help you rank better in the search engines. It's possible alt attributes are the best way for your ecommerce products to show up in Google image and web search.

Let’s take a look at the source code of an alt attribute.

10 Image Optimization Tips for Your Ecommerce Site in 2024 (2)

The number one priority when it comes to image optimization is to fill out the alt attribute for each product image on your site.

Here are some simple rules for alt attributes:

  • Describe your images in plain language, just like you did for your image file names.
  • If you sell products that have model numbers or serial numbers, use them in your alt attributes.
  • Don’t stuff your alt attributes full of keywords (e.g. alt="ford mustang muscle car buy now cheap best price on sale").
  • Don’t use alt attributes for decorative images. Search engines may penalize you for over optimization.

Finally, do a sanity check from time to time. View the source of your webpages and check to see if your alt attributes are there and still relevant. You’ll be surprised by what you miss when you’re moving at the speed of entrepreneurship.

3. Choose your image dimensions and product angles wisely

It’s common practice to show multiple angles of your product. Going back to the Ford Mustang example, you wouldn’t want to show just one shot of the car, especially if you’re trying to sell it. It would be in your best interest to show shots of:

  • The interior
  • The rear (especially that air spoiler)
  • The rims
  • The engine (it is a Mustang after all)

The best way to capitalize on these extra photos is to fill out your alt attributes. And the way you would do that is by creating unique alt attributes for each product shot:

  • 2012-Ford-Mustang-LX-Red-Leather-Interior-Trim.jpg -> using the alt attribute of: alt="2012 Ford Mustang LX Red Leather Interior Trim"
  • 2012-Ford-Mustang-LX-Red-Rear-View-Air-Spoiler.jpg -> using the alt attribute of: alt="2012 Ford Mustang LX Red Rear View Air Spoiler"

The key here is to add descriptions to your base alt attribute so potential searchers land on your website. If you do the extra work, Google will reward you with searchers.

A word of caution on larger images

Now, you might want to provide large images for your visitors to enjoy. This can make for a great user experience, but be careful not to go overboard.

Whatever you do, don’t place the largest image on your webpage and simply shrink the dimensions via the source code. This will increase your page load time because of the larger file size associated with the image.

Instead, use a smaller image on the page and offer visitors the option to view a larger image in a pop-up or on a separate page. Tip: Learn how to make product images zoomable in your theme using jQuery image zoom.

4. Resize your images

Consider this:

If you have images that slowly “drool” down the screen and take more than 15 seconds to load? Well, you can kiss prospective customers goodbye!

So, what can you do?

When a customer arrives on your site, it can take a while to load everything, depending on how large your files are. The larger the file sizes, the longer it takes a page to load. (Note: If you’re a Shopify merchant, your Shopify theme automatically compresses images, so this won’t be an issue for you.)

If you can decrease the size of image files on your website and increase page load speed, more people who visit your site will extend their stay.

There are numerous online tools you can use for image editing. Adobe, for instance, offers a free image editing application for smartphones and tablets: Photoshop Express. It doesn’t have all of the capabilities of the desktop version of Adobe Photoshop, but it covers the basics of image editing and doesn’t cost an arm and a leg.

Here are some other impressive online image editing tools:

  • PicMonkey has been described by experts as a “staggeringly great photo editing tool.”
  • PIXLR is super user-friendly and comes with a 100%-free app for your smartphone, so you can edit on the go.
  • Canva is another fairly advanced online image editor.

Finally, there’s always GIMP. GIMP is an open-source free image-editing software application that runs on Windows, Mac, or Linux. It can do everything Photoshop can, but is a bit clunkier. But, for a free image editing application, you can’t beat it.

For ecommerce images, a good rule of thumb is to try to keep your image file size below 70 kilobytes. That can be difficult at times, especially for larger images.

5. Choose the right image format

There are three common file types that are used to post images to the web: JPEG, GIF, and PNG.

Let’s look at the three types and how they affect the same image:

10 Image Optimization Tips for Your Ecommerce Site in 2024 (3)

JPEG (or .jpg) is the de facto standard image file type for the web. JPEG images can be compressed considerably, which results in quality images with small file sizes. In the image above, the JPEG format allows decent quality at a low file size.10 Image Optimization Tips for Your Ecommerce Site in 2024 (4)

GIF (.gif) images are lower quality than JPEG images and are used for more simplistic images, such as icons and decorative images. GIFs also support animation.

Regarding image optimization, GIFs are great for those plain, simple images on a webpage that include just a few colors.

10 Image Optimization Tips for Your Ecommerce Site in 2024 (5)

PNG images are becoming more popular as an alternative to GIFs. PNGs support many more colors than GIFs, and they don’t degrade over time with re-saves, like JPEGs do. Even though the PNG file type is starting to be used more often, the file sizes can still be much larger than JPEG images.

Notice how the PNG-24 image is more than three times larger in file size than the PNG-8. This is why you need to be very careful with PNGs.

Here’s an extreme example, where the image file size has been held constant at 24 kilobytes for all three file types:

10 Image Optimization Tips for Your Ecommerce Site in 2024 (6)

As you can see, JPEG is the clear winner here. GIFs and PNGs degrade in quality in order to remain at the same low file size.

Here are some tips to remember when choosing file types:

  • In most cases, JPEGs will be the best image format for ecommerce. They provide the best image quality for the smallest file size.
  • Never use GIFs for large product images. The file size will be very large and there is no good way to reduce it. Use GIFs for thumbnails and decorative images only.
  • PNGs can be a good alternative to both JPEGs and GIFs. If you are only able to get product photos in PNG format, try using PNG-8 over PNG-24. PNGs excel as simple decorative images because of their extremely small file size.

Most image editing software can save images to any of the file formats discussed above.

6. Optimize your thumbnails

Many ecommerce sites will use thumbnail images, especially on category pages. They quickly showcase products without taking up too much real estate.

10 Image Optimization Tips for Your Ecommerce Site in 2024 (7)

Thumbnails are great, but be careful: they can be a silent killer. The victim? Your page load speeds. Thumbnails are usually presented at critical points during the shopping process. If they are preventing your category pages from loading quickly, you could lose a potential customer. (Note: Shopify merchants won’t have to worry about thumbnail optimization, we take care of that for you.)

So, what can you do?

  • Make your thumbnail file sizes as small as possible. It may be worth letting quality slide in favor of a lower file size here. Remember, the cumulative impact of your thumbnails have an impact on your page load time.
  • Vary your alt attribute text so as not to duplicate text that you would use for the bigger versions of the same image. As a matter of fact, make your alt text wildly different. The last thing you want is the thumbnail being indexed instead of the larger image. A case could be made to leave out the alt text entirely.

7. Use image sitemaps

If your site uses Javascript galleries, image pop-ups, or other “flashy” ways to improve the overall shopping experience, image sitemaps will help get your images noticed by Google.

Web crawlers can’t crawl images not called out specifically in the webpage source code. So, in order to let crawlers know about unidentified images, you must list their location in an image sitemap.

You can insert the following line in your robots.txt file, showing the path to your sitemap:

Sitemap: http://example.com/sitemap_location.xml

Or you can submit the sitemap to Google using the Search Console.

Google has many guidelines for image publishing, which may help your website rank higher on SERPs. In addition, you can use Google sitemaps to give Google more information about the images on your website, which can help Google find more of your images than it would on its own.

Using sitemaps don’t guarantee your images will get indexed by Google, but it’s certainly a positive step toward image SEO. Google Webmaster Tools has many suggestions for correctly formatting your sitemap.

It is important for you to add specific tags for all of your images. You can also create a separate sitemap to list images exclusively. What’s important is to add all the necessary information, while using specific tags, to any sitemaps you have or will create. Follow these guidelines that Google suggests for when creating a sitemap with image information.

8. Beware of decorative images

Websites often have an assortment of decorative images, such as background images, buttons, and borders. Anything non-product related can likely be considered a decorative image.

Although decorative images can add a lot of aesthetic appeal to a webpage, they can result in a large combined file size and slow load times. Therefore, you might want to consider taking a closer look at your decorative images so they won’t impair your website’s ability to convert visitors into customers.

You want to check the file sizes of all the decorative images on your site and use a template that minimizes file sizes.

Here are some tips for reducing the file sizes of your decorative images:

  • For images that make up borders or simple patterns, make them PNG-8 or GIFs. You can create good-looking images that are only a few hundred bytes in size.
  • If possible, use CSS to create colored areas instead of using images. Use CSS styling as much as possible to replace any decorative images.
  • Take a close look at that large wallpaper-style background image. Those can be huge files. Shrink them down as much as possible without ruining the image quality.

One trick you can use to eat away at your background image size is to cut out the middle of the background image and make it a flat color or even transparent. This can decrease the file size substantially.

9. Use caution when using content delivery networks (CDNs)

Shopify merchants don’t really have to worry about this, since we’re a hosted solution, but others should pay close attention. Content delivery networks (CDNs) are a go-to place to host images and other media files. They can increase your page load speeds and help solve bandwidth issues.

The one drawback is when it comes to backlinks. As you may know, backlinks are critical for SEO, and the more quality backlinks you have, the better your site ranks on the SERP.

By placing your images on a CDN, you are most likely removing the image from your domain and placing it on the domain of the CDN. So when someone links to your image, they are actually linking to the CDN domain.

Therefore, keep these best practices in mind:

  • Just because something is “trendy” doesn’t mean you should follow it like a sheep. Determine if it is really the best move for your business first.
  • If your website is doing tons of business every month, then a CDN is most likely a good idea, since it can help solve bandwidth issues.
  • If your site only gets thousands of visitors a day right now, chances are your current hosting situation can handle the load.

There are ways around the image SEO issues associated with CDNs, but have a professional help you strategize your move first.

10. Test your images

The entire point of optimizing your images is to help increase your bottom line. We’ve talked about reducing file sizes and getting the search engines to index your images, but what about testing images to see what converts to more customers?

  • Test the number of product images per page. Since load times are an issue for some non-hosted ecommerce sites, you may find reducing the number of images on a page will increase click-through rates and sales. It’s also possible that providing a lot of images per page will improve the user experience and lead to more sales. The only way to find this out is to test it.
  • Test what angles your customers prefer. You may see an increase in customer loyalty by providing the views your customers want to see. A great way to figure this out is to survey your customers about what they liked the most when viewing your product shots. Surveying and talking to your customers is a great habit to get into, in general. Still, verify by testing.
  • Test how many product listings you should have on category pages. Is it 10, 20, or 100 products? Test the number of products you list on category pages to see what works best for your customers.

Image optimization tools

Now that you know some image optimization best practices, let’s look at some image optimization tools and plug-ins you can use for your website.

AVADA SEO:Image Optimizer

10 Image Optimization Tips for Your Ecommerce Site in 2024 (8)

The AVADA SEO:Image Optimizer is one of the top apps in the Shopify App Store. It has over 1,100 reviews and maintains a 4.9 out of 5 star rating. It works to save you time and effort when optimizing images for your store. With just one click, you can put your image optimization on autopilot with AVADA.

Cool features include:

  • Automated alt tags to every image on product page, collection page, and blog posts
  • High-quality image compression to boost loading speed
  • One-click optimized Google structured metadata
  • Google Search Console integration for metrics tracking
  • Sitemap generator so search engines can read your site easily

TinyIMG SEO, Speed & Image Optimizer

10 Image Optimization Tips for Your Ecommerce Site in 2024 (9)

is another great optimization tool for Shopify store owners. It automatically optimizes images and uploads them to your store. You can restore to the original image at any time and optimize images manually, too.

TinyIMG also offers:

  • Image resizing
  • Ability to fix technical SEO and speed issues
  • Broken link redirection
  • JSON LD
  • Live support
  • Automated image optimization

TinyPNG

10 Image Optimization Tips for Your Ecommerce Site in 2024 (10)

TinyPNG is the most popular image optimization tool on the web. It uses smart lossy compression techniques to reduce image file size for your webpage (WEBP), JPEG, and PNG files. You can shrink images for your apps or store, plus shrink animated images.

TinyPNG’s API resizes images for thumbnails automatically, removing any unnecessary parts and adding more background. It’s available as a WordPress plug-in if you run your website on WordPress.

Keep photos functional with image optimization

You know some image SEO strategies to get your product photos into Google image search results. You know how to fully leverage alt attributes, and you know the difference between file types and when to choose each option. Now it’s time to head to your website and start optimizing your images.

Image optimization FAQ

What does image optimization mean?

Image optimization is the process of making images look perfect on desktop and mobile. It works by using compression technology, such as lossy and lossless, to reduce file size without losing any image quality.

What are the benefits of optimizing images?

  • Improve website speed
  • Create better browsing experiences
  • Improve search performance

What are image optimization techniques?

  1. Using concise and direct image names
  2. Optimizing your alt attributes
  3. Choosing image dimensions and product angles wisely
  4. Resizing images
  5. Choosing the right image format
  6. Optimizing thumbnails
  7. Using image sitemaps

What is the best image optimizer?

If you’re a Shopify store owner, AVADA SEO:Image Optimizer and TinyIMG SEO, Speed & Image Optimizer are the best image optimization tools. TinyPNG is the best image optimizer for public use.

10 Image Optimization Tips for Your Ecommerce Site in 2024 (2024)

FAQs

How do you optimize images for ecommerce? ›

First, make sure your images are in the correct format. Second, compress your images effectively to reduce loading time. Third, ensure the quality of your images is high. Fourth, optimize your Alt text for better SEO.

How do I optimize image size for website? ›

How to Optimize Images for the Web
  1. Benchmark your current site speed.
  2. Know how to choose the best image file type.
  3. Resize your images before exporting.
  4. Compress images to reduce file size.
  5. Automate image optimization with a WordPress plugin.
  6. Use the “blur up” technique to load a Lower Quality Image first.
Aug 31, 2023

How do I optimize the quality of an image? ›

How to Optimize Images for the Web
  1. Choose the Right File Format.
  2. Understand Compression Quality vs Size.
  3. Understand Lossy vs Lossless Optimization.
  4. Use Image Optimization Tools and Programs.
  5. Resize Images to Scale.
Apr 12, 2024

What is the best image format for e commerce? ›

In most cases, JPEGs will be the best image format for ecommerce. They provide the best image quality for the smallest file size. Never use GIFs for large product images. The file size will be very large and there is no good way to reduce it.

What image size is best for eCommerce website? ›

For example, if you have thought about the best image size for eCommerce product images, it is considered to be 640 x 640 or 800 x 800. Image size is essential for eCommerce because your customers can't touch the product, so images, product descriptions, and reviews are their saviors initially.

What is image optimization in website? ›

Optimizing web images is a process of delivering high-quality images in the right format, dimension, size, and resolution while keeping the smallest possible size. Image optimization can be done in different ways, be it by resizing the images, caching, or by compressing the size.

What is the best image size for SEO friendly? ›

Cheatsheet: best image sizes for SEO in pixels (and aspect ratio)
  • 1,200 x 675 (16x9)
  • 1,200 x 1,200 (1x1)
  • 1,200 x 900 (4x3)
Feb 3, 2023

Why is it important to optimize images for websites? ›

Image optimization helps your website rank higher on search results. These search engines will crawl and index your images. So, if your image has a large size, it will slow down your website. When search engines see this, they will rank you lower on SERPs.

What is the most important image on the Internet? ›

The World Wide Web (WWW) logo, also known as the “www” icon, is arguably the most iconic image on the internet.

Should all images have alt text? ›

Don't add alt text to every image.

Images that are purely decorative or are described in text nearby, for example, should have an empty alt attribute. For a more detailed breakdown of when to add alt text and when to not, check out this decision tree.

Do images increase SEO? ›

Images make any content more interesting and appealing by helping readers understand your content better. Plus, images add value to your SEO efforts by increasing user engagement and accessibility of your website.

What is image optimization? ›

Image optimization refers to the process of modifying and delivering high-quality images in the optimal format, dimension, and resolution for the device accessing them, all while keeping the smallest possible file size that will not result in noticeable image degradation.

How can I improve my product image? ›

Get creative with camera angles.
  1. Use infographics to point out features.
  2. Show people using the product to give a sense of what it's like to own it.
  3. Use secondary objects to provide a frame of reference for size.
  4. Show movement if the product has moving parts.
  5. Consider using product videos to boost sales.
Mar 28, 2023

How do I optimize images for Shopify? ›

How to optimize images for the web
  1. Resize your images to be the size they'll be shown on your website. ...
  2. Choose the right file format. ...
  3. Compress images to smaller file sizes. ...
  4. Name your images descriptively. ...
  5. Optimise your image alt attributes. ...
  6. Use image sitemaps. ...
  7. Lazy load images.

How do I optimize my product images for Shopify? ›

Other Shopify image optimization tips to consider
  1. Optimize your thumbnails. Take file size over quality when it comes to thumbnails. ...
  2. Use decorative images sparingly. ...
  3. Lazy-load images. ...
  4. Use Shopify image optimization apps. ...
  5. Never choose GIFs for product images. ...
  6. Use captions.
Jun 12, 2023

Do I need to optimize images for Shopify? ›

Improve page speed: Unoptimized images are large files that slow down your website performance. Since shoppers will bounce if your site takes more than three seconds to load, you need to optimize all of your Shopify images so they load ASAP.

How to optimize images for web without losing quality online? ›

Most image editing tools like Adobe Photoshop, ON1 Photo, GIMP, Affinity Photo, and others have built-in image compression features. You can also save images normally and then use a web tool like TinyPNG or JPEGmini for easier image compression.

Top Articles
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5959

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.