Courses/Master SEO & AIO/Optimize media for better SEO

Optimize media for better SEO

Images, videos, and other multimedia elements don’t just make your content more engaging — they’re also important for SEO. Search engines value well-optimized media because it improves user experience and accessibility. AI-powered search engines increasingly consider visual content alongside the surrounding text, making explanatory images and videos an important part of your AI search strategy, too.

What you’ll learn:

  • How to optimize images for search engines and AI tools.
  • Best practices for video optimization.
  • Techniques to improve page load speed with proper media files.
  • How to make your media accessible to all users.
  • How to use visuals as explanatory assets that strengthen your content for both human readers and AI search.

Image optimization essentials

Adding images to your content improves engagement and SEO, but only when properly optimized:

Include relevant images on every page

Search engines favor content with visual elements that enhance the text. When adding images:

  • Ensure images relate to your content—random images won’t help your SEO.
  • Place images near the relevant text they support.
  • Include original photos you took, if relevant.

Use descriptive file names

Before uploading an image to your site, rename the image file to describe what they show:

  1. Before uploading, right-click your image file and select “Rename”.
  2. Create a descriptive name using 2-4 words separated by hyphens.
  3. Include a relevant keyword if it naturally describes the image.

Poor example: “DSC4536.jpg”

Good example: “chocolate-chip-cookie.jpg”

Keep names short but descriptive, as this helps search engines understand what the image contains.

Here are tutorials for renaming a file based on your computer’s operating system: Windows↗︎ | Mac↗︎

Optimize file size and format

Large images slow down your page, harming both user experience and SEO.

  • Use JPG/JPEG for most photos (the best balance of quality and file size).
  • Aim for files under 1 MB.
  • Resize large images before uploading.

Learn how to optimize your media.

Add alt text to images

The alt text box is highlighted, with sample alt text describing an image of a giraffe.
Example of alt text

Alt text is essential for both SEO and accessibility. When writing alt text:

  • Be specific and descriptive rather than generic.
  • Include your target keyword when it makes sense contextually.
  • Vary descriptions across multiple images instead of repeating the same text.

Example: Instead of “pizza”, use “Young woman eating a slice of pepperoni pizza”.

Learn more about how to add alt text to images.

Add informative captions

When appropriate, include captions that:

  • Provide context about the image.
  • Add 1-2 sentences of description.
  • Add information that isn’t already in the surrounding paragraph or alt text (captions that only repeat what’s elsewhere don’t help search engines).
  • Include keywords naturally (don’t force them).

Learn how to add a caption to images.

Use visuals as explanatory assets

Images, diagrams, and screenshots that help readers understand your content do more than improve the reading experience — they also signal to search engines that your content is thorough and well-supported.

While AI-powered search engines primarily rely on the text signals around an image (file name, alt text, caption, surrounding paragraph), they increasingly also weigh whether your visuals genuinely support the topic. A well-named, well-captioned diagram or screenshot is more likely to be surfaced in AI search results than a generic stock photo with no context.

The difference between a decorative image and an explanatory one:

  • Decorative: A stock photo of a person hiking.
  • Explanatory: A photo of a specific hiking trail with a caption describing the exact location and difficulty level.

Explanatory visuals work harder for your SEO because every signal around them — file name, alt text, caption, and the text they sit alongside — reinforces what your page is actually about. You can mark images as decorative in the WordPress editor to hide them from search engines.

Video optimization techniques

Videos can significantly boost engagement, but require their own optimization:

Create engaging thumbnails

Thumbnails appear in search results and greatly influence click rates:

  • Make them relevant to the video content.
  • Ensure they’re visually compelling.
  • Use high-quality images that accurately represent the video.

Learn how to set a video thumbnail.

Use descriptive file names and titles

Just like with images, name your video files descriptively before uploading.

Here are tutorials for renaming a file based on your computer’s operating system: Windows↗︎ | Mac↗︎

Avoid duplicate content

Embedding the same video on multiple pages creates competition between your own pages.

  1. Choose a single, most relevant page to host each video.
  2. For other pages, link to the primary video page instead of embedding again.
  3. If you must embed on multiple pages, use canonical tags (available in SEO plugins).

Include video captions or transcripts

Transcripts make your content:

  • More accessible to all users.
  • Easier for search engines to understand and index.
  • More likely to appear for relevant searches.

Learn how to add video captions. You can also add transcripts beneath a video, hidden inside a Details block so it doesn’t fill up the entire page.

Try it: Optimize your media

Review the content you selected earlier and improve its media elements:

  1. Check that all images have descriptive file names.
  2. Add or improve alt text for all images.
  3. Compress any large image files.
  4. Consider adding captions where appropriate.
  5. If you have videos, ensure they have proper thumbnails and transcripts.
  6. Look at the images on your site. Are they explanatory (helping readers understand something specific) or decorative (just filling space)? Replace or supplement any purely decorative images with a screenshot, diagram, or visual that directly supports your content, where relevant.

By taking these steps, you’ll improve your SEO and create a better experience for all your visitors, including those using assistive technologies.

Use headings for SEO

Understand metadata for SEO

Copied to clipboard!