Skip to main content

Assessments: Images

The Images assessment checks whether the text has images.

Images
Name in codeTextImagesAssessment
Title URLhttps://yoa.st/4f4
Call to action URLhttps://yoa.st/4f5
When it appliesAlways.
ProductYoast SEO (Free)
Content typesWordPress: posts and pages, products (WooCommerce SEO)
Shopify: products, blog posts and pages
Google Docs: documents
Related keyphrases❌
Uses synonyms❌
LanguagesAll languages
Cornerstone❌ Same scoring
Uses highlighting❌
Uses morphology (Premium)❌

Scoring​

Traffic lightScoreCriterionFeedback
Red3No imagesImages: No images appear on this page. Add some!
Green9At least 1 imageImages: Good job!

Custom feedback strings​

The strings above are the defaults. A platform can replace them by passing callbacks.getResultTexts in the assessment config.

Product pages​

On product pages, the assessment recommends at least 4 images.

By default, it counts the images in the text. A platform can count the product's own images instead (featured, gallery, variations) by providing the providedImages attribute of the Paper. An empty array counts as a product without images. Videos are not counted by default. A platform can count videos too, by creating the assessment with countVideos set to true: the feedback then says "Images and videos". Videos are never counted when the Paper provides its own images. Yoast WooCommerce SEO and Yoast SEO for Shopify don't count videos.

Traffic lightScoreCriterionFeedback (default)
Red3No imagesImages: No images appear on this page. Add some!
Orange61 to 3 imagesImages: Only X image(s) appear(s) on this page. We recommend at least 4. Add more relevant images!
Green94 or more imagesImages: Good job!

On product pages, the callback in callbacks.getResultTexts receives urlTitleAnchorOpeningTag, urlActionAnchorOpeningTag, mediaCount, recommendedCount, includeVideos and isVariableProduct, and must return all three of noMedia, okay and good. The returned object is used as is, so an omitted key renders as an empty result text. Without a callback, the default strings in the table above are used.