Back in my day (in the before times), many websites were mobile-unfriendly. Large images took forever to download. or stretched beyond the viewport of the device. And don’t even get me started on websites using thin cursive-type fonts, making words and text illegible - one of my pet peeves. Please don’t make me squint, pinch, or stretch my screen to read your content. Fortunately, blogs and websites have improved over the years with responsive web design. Now, we have media queries, image optimization techniques, and Sans Serif Fonts. Readability for the win! Many small business or creative professionals use their blogs to inform, teach, or promote products and services, but most importantly, to build and engage with their audience. A typical blog post may contain anywhere from 3 - 5 photos or graphic illustrations with long-form content articles featuring approx. 10 - 17 images for every 100 words, according to Orbit Media. These images add up to weigh your website down. With search engines beginning to emphasize the importance of visual content, it's essential to consider your website’s image optimization. In this post, we’ll discuss how to help search engines understand your photos and graphic illustrations and how they relate to your blog posts in this powerful 5-step image optimization workflow. And for all of you who TLDR (“too long didn’t read”), learn how to batch, edit, and optimize your website images using some of the free and premium plugins and tools discussed on my blog. ⬇️ So, without further ado, let’s get started! How Search Engines Index ContentThough search engines use various methods to index images and websites, here is the process in three stages:
Additionally, search engines consider image metadata. Information such as file name, alternative text (or alt text), and textual content surrounding the image is indexed by search engines. Why Image Optimization Matters for SEOImage optimization is essential for SEO because it affects how fast your website loads, which can affect how well your site ranks in search results. Optimized images can improve your website’s SEO in the following ways:
Fast-loading websites and improved user experience make search engines such as Google happy. After all, it’s search engines' business to help visitors find what they're looking for on the web. It's in everyone’s best interest to be as fast, efficient, and as user-friendly as possible. So, with that said, let’s jump into this workflow that will help you boost your SEO game and enhance your website's visibility. Step 1 - Reduce image file sizes with photo compressionFirst up in the workflow is optimizing the file size of your images without sacrificing quality. Large image files can slow your website's loading speed, negatively impacting your user’s experience and SEO. Use image compression tools or plugins to reduce file sizes. JPEG and PNG formats are commonly used for web images. Let’s discuss the main types of file formats and specific compression techniques. Understanding Image FormatsThere are other image file formats, such as WebP, TIFF, and GIF. We are focusing on JPG and PNG image file formats for this article. The two main types of image formats you’re more than likely to be working with on your website:
In short, you should generally use PNG for simple image files and JPG or JPEG for complex photos. Set your photo size to be as large as it needs to be, and optimize your photos by decreasing the file size while retaining image quality during compression. Resizing images to fit intended displays: The ideal file size and dimensions for your images will depend on where you intend to use that image on your website. However, in general, when resizing images, keep the file size 100 KB, or at around 1200 x 600 pixels, but no larger than 500 KB. Step 2 - How to choose an SEO-friendly image nameTake a moment and consider what your content is about and how your image adds to the topic and context of your page. Let’s say, for example, you run a dog training site and write an article about helping families and their adopted dogs get settled into their new forever home. What reads better - a generic photo file name like: “img_1234.jpg” or “small-brown-dog.jpg” - if the image is actually of a small brown dog? Also, consider using your target keywords if it relates to the image and context of your webpage or blog post. Decide on a format style or naming convention and stick with it. Name your image files with dashes or underscores instead of spaces (i.e., small-brown-dog.jpg or small_brown_dog.png), and follow the same style for all your site images. Be mindful - do not keyword stuff! Search engines are intelligent, and sites like Google may penalize your website or flag it as spam. Assigning descriptive and relevant file names to your images helps search engines understand your image’s content, not to mention helps keep your media library organized. Step 3 - Write compelling and descriptive photo captions and alt textContinuing from file name formats, our next step in this workflow is writing descriptive photo captions and alt text. Photo captions are short descriptions that are usually displayed below the image. Descriptive captions help your website visitors understand the photo’s significance in your article or blog post context. Captions may contain the location, date, and names associated with the image. As such, when writing image captions, it’s essential to keep them clear, concise, and relevant. Choose images related to the page or blog topic and describe what’s happening in the photo, if possible. Example A, photo caption - a small brown dog named Otis finds his forever home Alternative text (alt text or alt tag) lives in the <img> HTML markup. It’s the text that will display when photos fail to load. Screen readers will also read the alt text aloud. Similarly to writing the photo caption, try to describe the image naturally while incorporating your relevant SEO keywords into the alt tag. Keep it concise - or at least no more than 120 characters. Limit your use of punctuation unless it’s necessary for clarity. If the image is purely aesthetic and adds nothing to the context, leave the alt text empty (i.e., alt = “ “) And lastly, remember you are writing your image alt text for people and not entirely for search engines. So, avoid keyword-stuffing your alt text. Step 4 - How to create an image sitemapNext up, create an XML sitemap for your website and images. Sitemaps help search engines discover and index your photos more efficiently. The sitemap file is straightforward to generate. To create an image sitemap file:
Regularly update your image sitemap as you add or update new photos. Step 5 - User experience and responsive image optimizationIn this step, we’ll discuss a few approaches to making images responsive on your website. Responsive design is a web design strategy that enables page assets to render well on different viewport sizes. The methods used to make photos responsive can vary depending on the type of graphics (logos, icons, illustrations, etc.) you use on your site. Here are a few options to consider:
Using some of these methods, you can deliver an optimized and visually pleasing experience to your website visitors and improve the performance of your website on various devices. ConclusionWoohoo! You made it to the end of our Image Optimization 5-step workflow. To summarize, we’ve covered the following topics in this post:
Remember, image optimization isn’t just about improving your website's visuals; it's about enhancing user experience, increasing page load speed, and sending relevant signals to search engines. Monitor your website’s performance and adjust your optimization strategy as necessary. Stay consistent; with time, you'll undoubtedly be well on your way to supercharging your SEO efforts. |
Cynthia (@heycynwrites) is a technical writer and blogger for hire. She enjoys reading and learning to draw things.