Naming images correctly is a crucial aspect of SEO that can improve your website’s visibility on search engines. This guide will walk you through the process of naming images for SEO, including practical examples and visual aids with appropriate alt text.
Naming images correctly is a crucial aspect of SEO that can improve your website’s visibility on search engines. This guide will walk you through the process of naming images for SEO, including practical examples and visual aids with appropriate alt text.
Bad Example: IMG001.jpg
Good Example: sunset-over-mountains.jpg
Bad Example: sunset_over_mountains.jpg
Good Example: sunset-over-mountains.jpg
Bad Example: alt="beautiful sunset"
Good Example: alt="beautiful sunset over the Rocky Mountains during summer"
Bad Example: alt="team"
Good Example: alt="diverse team of colleagues working on a project in a modern office"
Bad Example: No caption
Good Example: Caption: A diverse team of colleagues collaborating on a project in a modern office.
Original Image: sunset-over-mountains.jpg
(5MB)
Compressed Image: sunset-over-mountains.jpg
(500KB)
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "ImageObject",
"contentUrl": "https://example.com/sunset-over-mountains.jpg",
"license": "https://creativecommons.org/licenses/by/4.0/",
"acquireLicensePage": "https://example.com/license",
"creator": {
"@type": "Person",
"name": "John Doe"
}
}
</script>
srcset
attribute in your image tags.<img src="sunset-over-mountains.jpg"
srcset="sunset-over-mountains-400.jpg 400w,
sunset-over-mountains-800.jpg 800w"
sizes="(max-width: 600px) 400px, 800px"
alt="Beautiful sunset over the Rocky Mountains during summer">
By following this step-by-step guide, you can effectively name and optimize images for SEO. Using descriptive file names, optimizing alt text, adding captions, compressing images, implementing structured data, and ensuring mobile-friendliness are crucial strategies to enhance your website’s visibility on search engines. These practices not only improve SEO but also enhance user experience, making your content more accessible and engaging.