Whether youre a blogger or write articles for an online magazine or newspaper, chances are youll find yourself asking whether your article needs an image or not. The answer is always Yes. Images bring an article to life and also contribute to your websites SEO. This post explains how to fully optimize an image forSEOand provides some pointers on using images for the best user experience.
Images, when used correctly, will help readers better understand your article. The old saying A picture is worth a thousand words probably doesnt apply to Google, but its certainly true when you need to spice up 1,000 dull words, illustrate what you mean in a chart or data flow diagram, or just make your social media posts more enticing.
Its a simple recommendation: add images to every article you write to make them more appealing. Whats more, since visual search is getting increasingly important as seen in Googles vision for the future of search it could turn out to provide you with a nice bit of traffic. And if you have visual content it makes sense to put image SEO a bit higher on your to-do list.
A while ago, Google Images got a brand-new interface with new filters, metadata, and even attribution. These cool new filters show that Google increasingly knows whats in an image and how that image fits into the larger context.
Its always better to use original images photos you have taken yourself than stock photos. Your team page needs pictures of your actual team, not this dude on the right or one of his stock photo friends. Off topic: also, this dude really needs a haircut.
Your article needs an image relevant to its subject. If youre adding a random photo just to get a green bullet in the Yoast SEO plugins content analysis, then youre doing it wrong. The image should reflect the topic of the post or have illustrative purposes within the article. Also, try to place the image near the relevant text. If you have a main image or an image that youre trying to rank, try to keep that near the top of the page, if thats possible without feeling forced.
There is a simple image SEO reason for all of this: an image with related text ranks better for the keyword it is optimized for. But well discuss image SEO later on in this article.
If you dont have any original images that you can use, there are other ways to find unique images and still avoid stock photos.Flickr.comis a nice image source for instance, as you can use Creative Commons images. Just remember to attribute the original photographer. We also like the images provided by sites like Unsplash.We have a blog post that gives you an awesome overview of where to get great images. Steer clear of theobvious stock photos, and if you are using stock photos, pick the ones that look (ok, just a bit)more genuine. But whatever you use, youll probably find that images with people in them always look like stock photos. Unless you took the photos yourself, which (in our opinion) is always the best idea.
Obvious alternatives for photos could be graphs or illustrations, which is what we at Yoast use. If youre interested, our resident illustrator Erwin wrote a fun article about the making of illustrations on our developers blog. Also, an honorable mention should go toanimated GIFs, as they are incredibly popular these days.
But even though animated GIFs are popular, dont go overboard. Itll make your post harder to read, as the movement of the image distracts your readers attention. They can also slow down your page.
Read more: Blog post images: why use them and where to find them
Once you have found the right image whether its a photo, illustration, or chart the next step is to optimize it for use on your website. So before you add your image, there are a number of things you need to think about:
Image SEO starts with the file name. You want Google to know what the image is about without even looking at it, so use your focus keyphrase in the image file name. Its simple: if youre writing an article on the Notre Dame and you use an image showing a sunrise in Paris over Notre Dame Cathedral, the file name shouldnt be DSC4536.jpg. A proper file name would be notre-dame-paris-sunrise.jpg, making sure the main subject of the photo (and your article) is at the beginning of the file name.
For images, the right format doesnt exist; it depends on the kind of image and how you want to use it. In short, we recommend to:
If you know a large part of your audience uses specific browsers or devices, make sure to check whether your preferred format is supported by those browsers on CanIuse.com.
When youve chosen the right name and format, its time to resize and optimize your image!
Loading times are important for UX and SEO. The faster the site, the easier it is for users and search engines to visit (and index) a page. Images can have a big impact on loading times, especially when you upload a huge image to display it really small for example, a 25001500 pixels image displayed at 250150 pixels size as the entire image still has to be loaded. So resize the image to how you want it displayed. WordPress helps you do this by automatically providing the image in multiple sizes after uploading it. Unfortunately, that doesnt mean the file size is optimized as well, thats just the image display size. So think about the size in which you upload your images!
This one is essential for SEO as well, and if youre using WordPress its done for you since it was addedby default from version 4.4. Images should have the srcset attribute, which makes it possible to serve a different image per screen width this is especially useful for mobile devices.
The next step in image SEO should be to make sure that your scaled image is compressed so its served in the smallest file size possible.
Of course, you could just export the image and experiment with quality percentages, but we prefer to use the highest possible quality images, especially given the popularity of retina and similar screens these days.
You can still reduce the file size of these images by removing theEXIF data, for example. We recommend using tools likeImageOptimor websites like Squoosh,JPEGmini, jpeg.io orKraken.io.
When youve optimized your images, you can test your page with tools like Google PageSpeed Insights, Lighthouse, WebPageTest.org or Pingdom.
While Google is getting better at recognizing whats in an image, you shouldnt totally rely on their abilities yet. It all comes down to you providing the context for that image so fill in as much as you can! Well discuss how below.
Your image is ready to use, but dont just throw it into your article anywhere. As mentioned earlier, adding it close to related textual content helps a lot. It makes sure the text is as relevant to the image as the image is to the text, something users and Google prefer.
The image caption is the text that accompanies the image on the page if you look at the images in this article, its the text in the gray box below each one. Why are captions important for image SEO? Because people use them when scanning an article. People tend to scan headings, images and captions as they scan a web page.Way back in 1997, Jakob Nielsen wrote:
Elements that enhance scanning include headings, large type, bold text, highlighted text, bulleted lists, graphics, captions, topic sentences, and tables of contents.
In 2012,KissMetrics went even further, statingthat:
Captions under images are read on average 300% more than the body copy itself, so not using them, or not using them correctly, means missing out on an opportunity to engage a huge number of potential readers.
Do you need to add captions to every image? No, because sometimes images serve other purposes. Decide whether you want to use yours for SEO as well or not. Bearing in mind the need to avoid over-optimization, wed say you should only add captions where it would make sense to the visitor for one to be there. Think about the visitor first, and dont add a caption just for image SEO purposes.
The alt text (or alt tag) is added to an image so there will be descriptive text in place if the image cant be displayed to the visitor for any reason. We cant put it any better thanWikipedia:
In situations where the image is not available to the reader, perhaps because they have turned off images in their web browser or are using a screen reader due to a visual impairment, the alternative text ensures that no information or functionality is lost.
The alt text is there to enhance your websites accessibility. So be sure to add alt text to images you use, and consider including the SEO keyphrase for that page if its appropriate to do so. Do not stuff the alt text of every images with keywords. Most importantly, describe whats in the image so both search engines and people can make sense of it. The more relevant information surrounding an image has, the more search engines deem this image important.
However, please note that not every images needs to have an alt text. Instead, you should think of alt text as a part of your content and add it where it makes sense. For instance, if you have an image purely for decorative reason, then that image doesnt need an alt text. In this case, having an alt text doesnt bring any value to your readers. On the other hand, if you use an image with a statistic, lets say the number of people who search for ice cream last month, then this should be reflected in the alt text. You can find guidance for alt text in this W3s article.
When hovering over an image, some browsers show the title text as a tooltip. Chrome shows the title textas was intended. Title text for images is similar and a lot of people who use titles simply copy the alt text, but more and more people leave them out altogether. Why is that? Heres Mozillas take:
title has a number of accessibility problems, mainly based around the fact that screen reader support is very unpredictable and most browsers wont show it unless you are hovering with a mouse (so e.g. no access to keyboard users).
It is better to include such supporting information in the main article text, rather than attached to the image.
Keep reading: Read more about alt tag and title tag optimization
Adding structured data to your pages can help search engines display your images as rich results. While Google says structured data doesnt help you rank better, it does help to achieve a more fleshed out listing in Image Search. Theres more, though. For instance, if you have recipes on your site and you add structured data to your images Google can also add a badge to your images showing that this image belongs to a recipe. Google Images supports structured data for the following types:
Google has a number of guidelines you need to follow if you want your images to appear rich in image search. For one, when specifying an image as a structured data property, make sure that the image actually belongs to the instance of that type. In addition, your image should have the image attribute and that your images should be crawlable and indexable. You can find them all Googles Structured Data General Guidelines.
Yoast SEO automatically adds the correct structured data a number of images on your site, like your logo or the ones you add to your how-to articles built in our blocks. The plugin always finds at least one relevant image on any page to add to the structured data graph. This way, Yoast SEO can describe your page properly to search engines. Want to learn more about structured data? Enroll in our free Structured data training course if you want to learn how to add structured data to your pages!
Earlier on, we mentioned using images for social sharing. If you add the following image tag to the
section in your page HTML like this:That will make sure the image is included in your share on Facebook (and OpenGraph is also used for Pinterest, for instance).
Our Yoast SEO pluginhas aSocial sectionwhere you can set and in the Premium version evenpreview your Facebook and Twitter posts. Premium users can also use the Zapier integration to automate posting to social media platforms. Make sure to use a high-quality image, like the original image you used in the post, as the social platforms use higher quality/larger images more often than not. If you have set this up correctly, and its not showing the right image, try to flush Facebooks cache in theURL Debugger. Twitter Cardsdo the same for Twitter and are also generated by our plugin.
If you are a web developer, you might wonder about XML image sitemaps. Id prefer to describe this asimages in XML sitemaps. Google is clear about this:
Additionally, you can use Google image extensions for sitemaps to give Google more information about the images available on your pages. Image sitemap information helps Google discover images that we might not otherwise find (such as images your site reaches with JavaScript code), and allows you to indicate images on your site that you want Google to crawl and index.
Every now and then, people ask us about XML image sitemaps. We dont generate these in our plugin, but follow Googles advice and include them in the page or post sitemaps. Just scroll down in ourpost sitemapand youll see we have added images to all our latest posts (there is a column just for that). Adding images to your XML sitemaps helps Google index your images, so be sure to do so for better image SEO.
We all know CDNs as one of the most popular site speed optimizations. Some of the companies that provide CDNs also have a specific CDN for images. The image CDNs are built around basic tasks: to optimize your images and get them to your visitor as fast as possible. Running an image CDN can speed up the delivery of your images many, many times.
An image CDN lets you handle the transformation, optimization and delivery of images. You can determine what loads when and how that should work. For instance, you can say that all your PNG images should be converted to webp on-the-fly because these load fastest and give the best image quality. An image CDN has loads of options to fine-tune the process, but theres often a default setting thats probably best for the majority of sites.
There are loads of image CDNs to choose from, like Sirv, Cloudinary and Imagekit. Also, platforms like Cloudflare let you determine how to resize, reformat and serve images.
Image SEO is the sum of a number of elements. With Google getting better at recognizing elements in images every day, it makes sense to make sure the image and all its elements contribute to a good user experience as well as SEO. It would be foolish to try to kid Google.
Keep these 12 things in mind when adding an image to an article:
Besides contributing to SEO and user experience, images can also play an important role in conversion. So dont underestimate the importance of image SEO on your site!
Read on: WordPress SEO: The definitive guide to higher rankings for WordPress sites
Edwin is a strategic content specialist. Before joining Yoast, he spent years honing his skill at The Netherlands leading web design magazine.
Continue reading here:
Image SEO: Optimizing images for search engines Yoast
- What You Need to Know About the New SAG-AFTRA Agreement ... - Casting Networks - November 24th, 2023 [November 24th, 2023]
- Premiership Rugby Highlights Show | Be on TV - ITVX - November 24th, 2023 [November 24th, 2023]
- Elon Musks Neuralink wants to merge your brain with AI at what ... - Vox.com - October 20th, 2023 [October 20th, 2023]
- The World's Job During the War on Hamas: Save the Space For Peace - TIME - October 20th, 2023 [October 20th, 2023]
- Brooklyn Beckham hits back at haters who mock his online cooking videos - Yahoo News UK - October 20th, 2023 [October 20th, 2023]
- Secret to immortality could be just a decade away as scientists predict when well learn to live forever... - The US Sun - August 18th, 2023 [August 18th, 2023]
- Roblox Introduces Heads and Bodies to the UGC Program - Game Is Hard - August 18th, 2023 [August 18th, 2023]
- Bigger Th*t Than Cardi B: Amidst Conor McGregor's Friend's Feud ... - The Sportsrush - August 18th, 2023 [August 18th, 2023]
- Sofia Richie Says Royal Weddings Inspired Her Nuptials - Brides - August 18th, 2023 [August 18th, 2023]
- How Many Times a Day to Post to BeReal a Day - Alphr - August 18th, 2023 [August 18th, 2023]
- Usage of dark web for uploading sensitive defence information is a ... - LawBeat - August 18th, 2023 [August 18th, 2023]
- What Should You Look for in your WiFi Plan? - My Everyday Tech - August 18th, 2023 [August 18th, 2023]
- The Pros and Cons of Using No-Code Websites as a Blogger - MUO - MakeUseOf - August 18th, 2023 [August 18th, 2023]
- The Future Is Now: Wrestling with Ethics, Policy and Brain-Computer ... - NC State News - May 2nd, 2023 [May 2nd, 2023]
- How to Share Images Online Easily With Pasteboard - Dignited - May 2nd, 2023 [May 2nd, 2023]
- The Acid Test, April 2023 - bandcamp.com - May 2nd, 2023 [May 2nd, 2023]
- Top 9 Generative AI Applications and Tools - eWeek - May 2nd, 2023 [May 2nd, 2023]
- Top 50 Most Viewed U.S. YouTube Channels Week Of 04/30/2023 - Tubefilter - May 2nd, 2023 [May 2nd, 2023]
- PPC Automation: When & How To Use It - Search Engine Journal - May 2nd, 2023 [May 2nd, 2023]
- All That Is In The Heavens [Part 14]: Bionic Basim - MuslimMatters - October 19th, 2022 [October 19th, 2022]
- Mill Creek Leverages QR Codes To Help People Store Their Loved One's Messages as Forever Cherishable Memories - Digital Journal - October 19th, 2022 [October 19th, 2022]
- In their own words: County Commissioner candidates Randy George and Steve Skinner on why each should be considered for the open District 3... - October 19th, 2022 [October 19th, 2022]
- Get ready now for the 2022 Great Southern BioBlitz! - Cosmos - October 19th, 2022 [October 19th, 2022]
- ILUMINATIVE Is Reviving the Modern Genre Of Hip-Hop/Rock & Nu-Metal with the Latest Album, 'Endangered' - Daily Music Roll - October 19th, 2022 [October 19th, 2022]
- Enter the Cambridge Independents Photography Awards 2022 - and win great prizes - Cambridge Independent - October 19th, 2022 [October 19th, 2022]
- Coros Vertix 2 review the battery life of this smartwatch is insane - CyclingWeekly - October 19th, 2022 [October 19th, 2022]
- WTF Are POAPs? The Intriguing Power of Proof of Attendance Protocol - nft now - October 19th, 2022 [October 19th, 2022]
- Former NRL star Finch fighting to avoid jail amid fears hell be targeted by hardened criminals - Fox Sports - October 19th, 2022 [October 19th, 2022]
- Muni Long's long and winding road to R&B stardom - Los Angeles Times - October 19th, 2022 [October 19th, 2022]
- She-Hulk Recap: Episode 9 | Jen Breaks the MCU - United By Pop - October 19th, 2022 [October 19th, 2022]
- People with dark personality type desire enhancing their brains with future tech, new study reveals... - The US Sun - October 2nd, 2022 [October 2nd, 2022]
- Emma Chamberlain has opened up the doors of her new home and I havent been able to think of anything else since - image.ie - October 2nd, 2022 [October 2nd, 2022]
- 'Don't believe everything you read': The story of The Onion - Bennington Banner - October 2nd, 2022 [October 2nd, 2022]
- DJ Ace - Peace of Mind Vol 39 (Saxophone Edition Slow Jam Mix ... - September 29th, 2022 [September 29th, 2022]
- Longtermism Movement Misses the Importance of War - Scientific American - September 29th, 2022 [September 29th, 2022]
- Ten warning signs that your phone is spying on you and tips on removing spyware - Scottish Daily Express - September 29th, 2022 [September 29th, 2022]
- JNU Admission 2022: Registration starts for UG admission on the basis of CUET in JNU, fill your form from this link - News Day Express - September 29th, 2022 [September 29th, 2022]
- RTI reply: 42 cars in CM Bhagwant Mann convoy, opposition says 'badlav or waste of money' - The Indian Express - September 29th, 2022 [September 29th, 2022]
- 10 best One Direction rock covers, from the 1975 to Wolf Alice - Alternative Press - September 29th, 2022 [September 29th, 2022]
- How to use GPX maps and trackback on the Galaxy Watch 5 Pro Route tile - Android Central - September 29th, 2022 [September 29th, 2022]
- CHITCHAT OVER COFFEE: Give the Heart the space it needs - Manila Bulletin - September 29th, 2022 [September 29th, 2022]
- How technology will bridge the gap for the next million - Times of India - September 20th, 2022 [September 20th, 2022]
- now allows you to upload your photos and edit them - Gearrice - September 20th, 2022 [September 20th, 2022]
- 2023 Honda CR-V First Drive Review: The Once And Future King? - Motor1 - September 20th, 2022 [September 20th, 2022]
- Pantheon Review: 2022's Wildest Tech Thriller Is a Cartoon | Time - TIME - September 7th, 2022 [September 7th, 2022]
- Worth Watching: Lord of the Rings Prequel, Uploading Gets Serious in Pantheon, NASCAR Race for the Championship - Channel3000.com - WISC-TV3 - September 7th, 2022 [September 7th, 2022]
- The super-rich preppers planning to save themselves from the apocalypse - The Guardian - September 7th, 2022 [September 7th, 2022]
- 8 Anime Outros Too Good to Skip - Geek Girl Authority - September 7th, 2022 [September 7th, 2022]
- From social media to Pollywood, singer Noor Chahal says originality is her secret to success - The Indian Express - September 7th, 2022 [September 7th, 2022]
- Behind the music - Ratios - RTE.ie - September 7th, 2022 [September 7th, 2022]
- According To Believers, 7% Of Us Will Find Code 0010110 And Exit The Matrix On August 27 - YourTango - August 2nd, 2022 [August 2nd, 2022]
- Elon Musk confirms he already uploaded his brain to a cloud, he spoke to himself - Marca - August 2nd, 2022 [August 2nd, 2022]
- Whatever Happened to the Transhumanists? - Gizmodo Australia - August 2nd, 2022 [August 2nd, 2022]
- TREASURES OF THE TRI-STATE 2022 - 97.3 the Rock - Radio Dubuque - August 2nd, 2022 [August 2nd, 2022]
- India versus West Indies second T20 highlights: Fancode yesterday match 2nd T20 highlights where to watch - The Sportsrush - August 2nd, 2022 [August 2nd, 2022]
- Edinburgh internet troll guilty of sending vile online messages to politicians - Edinburgh Live - August 2nd, 2022 [August 2nd, 2022]
- The PhotoStick Reviews (PhotoStick For PC) - Does This Device Really Worth Buying? Must Read This Before You Buy! - Outlook India - August 2nd, 2022 [August 2nd, 2022]
- How Close Are We to Uploading Your Mind? - How-To Geek - July 23rd, 2022 [July 23rd, 2022]
- Ranveer Allahbadia: Of collaborations and making Reels - Hindustan Times - July 23rd, 2022 [July 23rd, 2022]
- Jasmine TXO: The key to cracking TikTok - Ragtrader - July 23rd, 2022 [July 23rd, 2022]
- You can also earn big money sitting at home from YouTube or Instagram, know how? (How to Earn Money From YouTube And Instagram?) - News Day Express - July 23rd, 2022 [July 23rd, 2022]
- What the POTS shutdown will mean for faxing in the healthcare industry - Healthcare Dive - July 23rd, 2022 [July 23rd, 2022]
- Back Issues: Connecting with the past via historical objects - Stuff - July 23rd, 2022 [July 23rd, 2022]
- Hidden MrBeast Video Sees the Popular Millionaire Put Over $50,000 on the Line for His Fans - EssentiallySports - July 17th, 2022 [July 17th, 2022]
- Some of the internet's most homoerotic content is on The History Channel's YouTube? - Queerty - July 17th, 2022 [July 17th, 2022]
- A Twitter test will remind you to add alt text to images - TechCrunch - July 17th, 2022 [July 17th, 2022]
- Beyonc's 7th Studio Album Renaissance is About Release on The 29th of July - Daily Music Roll - July 17th, 2022 [July 17th, 2022]
- Repairing an old thing is a small act of defiance against disposable culture - The Irish Times - July 17th, 2022 [July 17th, 2022]
- Warzone players slam the dumbest Perk in the history of CoD - CharlieINTEL.com - July 17th, 2022 [July 17th, 2022]
- Tatsuki Fujimotos Just Listen To This Song Is A Lesson In Love And Buddhism - DualShockers - July 17th, 2022 [July 17th, 2022]
- Required Documents - School and Student Services by Community Brands - July 3rd, 2022 [July 3rd, 2022]
- Dr. Strange: Can the Multiverse Really Work as a Plot Device? - Walter Bradley Center for Natural and Artificial Intelligence - July 3rd, 2022 [July 3rd, 2022]
- Sophia Mirzas daughters say living with father happily - The News International - July 3rd, 2022 [July 3rd, 2022]
- Warning for MILLIONS of iPhone users before going on holiday this year... - The US Sun - July 3rd, 2022 [July 3rd, 2022]
- Interview: The Vamps Celebrate 10 Years At The Top! - CelebMix - July 3rd, 2022 [July 3rd, 2022]
- The powerful lesson I learned watching my father die - Sydney Morning Herald - July 3rd, 2022 [July 3rd, 2022]
- How to Sign Up for Amazon Primes Free Trialand Save Big Ahead of Prime Day in 2022 - Yahoo Life - July 3rd, 2022 [July 3rd, 2022]
- Firoz Hasan of Free Motion stands by flood affected Sylhet and Sunamganj - The Daily Star - June 29th, 2022 [June 29th, 2022]
- Almost Quote the Movie Serena Williams Fangirls Over Iron Man as She Dons Similar Pair of Glasses Ahead of Her Wimbledon Championships 2022 Campaign... - June 29th, 2022 [June 29th, 2022]
- Someone Remade The Simpsons: Hit And Run As An Open World Game - eXputer - June 29th, 2022 [June 29th, 2022]