Loading
Image optimization is an art that you want to master. From attracting shoppers perusing Google images to reducing site load time, image optimization is an important part of building a successful ecommerce website, since your product photography is a cornerstone of your online store.
Fortunately, you can reduce your image’s file sizes to help improve your website’s performance. One problem with formatting them is that modifications often reduce their quality (which in turn might make the visitor hate your website).
That’s not a bad thing as long as you don’t make them ugly. There are some tricks and techniques that let you reduce the image’s file size and still keep them pretty enough to proudly display them on your website.
So let’s take a look at how to format your images without making them ugly, as well as how to optimize images for web and performance.
Image optimization is about reducing the file size of your images as much as possible without sacrificing quality so that your page load times remain low. It’s also about image SEO. That is, getting your product images and decorative images to rank on Google and other image search engines. Have the following questions ever left you scratching your head?
The goal of image optimization is to create high-quality images with the lowest file size. Three main elements play a role here:
By finding the balance between the three, you can reduce image size and improve website performance.
There are many different types of images. This section covers some of the main raster file formats, which are resolution dependent.
Here’s a visual showing the same image in its original state, before being converted to JPG and WebP. As you can see, it’s impossible to detect any detrimental visual quality changes with the naked eye.
1. Use concise and direct image names
Most people don’t give a second thought to what the file names for their images are, but it turns out that it matters a lot more than you might think. Did you know that Google will actually crawl the file names of your images? Make the names of your images descriptive and keyword-rich but not spammy.
When it comes to image SEO, it’s important to use relevant keywords to help your web page 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.
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:
Look at your website analytics to see what keyword patterns your customers follow. 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, just be sure to use relevant, helpful keywords when naming your images (i.e., try to be descriptive).
2. Optimize your alt attributes carefully
The alt image tags, also called the alt attributes, are the text alternative to images when they fail to load on your website, but otherwise, they do not appear on your website.
Alt image tags are used to tell people who have visual impairments what your images are, and they’re used by search engines to determine ranking in image searches, as well as a website’s organic ranking as a whole. Suffice it to say, optimizing alt image tags is important. Here are a few rules to keep in mind to help you get it right:
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. As a matter of fact, using alt attributes is probably the best way for your ecommerce products to show up in Google image and web search.
Finally, always do a sanity check from time to time. View the source of your web pages and check to see if your alt attributes are filled out properly. 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 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:
The key here is to add descriptions to your base alt attribute so that potential searchers land on your website. If you do the extra work, Google will reward you with searchers.
4. Resize your images
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 webpage to load. (Note: If you’re a Shopify merchant, your Shopify theme automatically compresses images, so this shouldn’t be an issue for you.)
If you can decrease the size of the image files on your webpage and increase page load speed, fewer people who visit your site will click away. One way you can reduce image file size is by using the Save for Web command in Adobe Photoshop. When using this command, you want to adjust the image to the lowest file size possible while keeping an eye on image quality.
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.
Here are some tips to remember when choosing file types:
6. Optimize your thumbnails
Most of the ecommerce sites use thumbnail images, especially on category pages. They quickly showcase products without taking up too much real estate.
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 don’t have to worry about thumbnail optimization, as 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 will have a huge impact on your page load time.
Vary your alt attribute text as to not 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 that are 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 doesn’t guarantee that 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.
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:
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 backlinks you have, the better your site does in the search engines.
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:
There are ways around the image SEO issues associated with CDNs, but be sure to 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?
Now that you know the best practices for image optimization, let’s look at some optimization plug-ins you can use for your website.
1. AVADA SEO: Image Optimizer
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.
Some cool features include:
2. TinyIMG SEO & Image Optimizer
TinyIMG SEO & Image Optimizer is another great optimization tool for Shopify store owners. It automatically optimizes images and uploads them to your Shopify store. You can restore to the original image at any time and optimize images manually, too. TinyIMG also offers:
3. TinyPNG
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.
Image optimization helps you to speed up your Shopify website, improve your search engine rankings and means you can provide a better browsing experience for your store visitors.
The most important thing is to make sure the image and alternative text are relevant to the page. Other key takeaways:
Optimizing images is no joke. With advancements in voice search technology, media is a growing importance and your entire site will benefit from taking the steps above.