Images & video · 2 min read

Background image SEO: put photos in regular image tags

Google says standard HTML image elements make images easier for crawlers to find and process, and it reads images from the src attribute of an <img> element, including one nested inside a <picture> element.

What it means for your Maryland business

Background image SEO comes down to one rule: photos set as CSS background images, the styling method many website themes use for banners and galleries, are not indexed by Google. Photos placed in a regular image tag are. That matters for Maryland businesses that sell with pictures: restaurants, florists, boutiques, photographers, wedding venues, real estate agents and contractors with project portfolios. If your best photos are backgrounds, Google won't index them, so they can't turn up in Google Images.

A bridal boutique in Bethesda, in Montgomery County, uses a theme that displays every gown in a gallery built from background images. On screen it looks fine, but Google sees no photos at all. The web person rebuilds the gallery so each gown is an image tag with a short description of the dress, then keeps background images only for decorative textures and color blocks that don't need to be found. If the gallery uses responsive images, which serve different sizes to phones and desktops, each one still gets a plain fallback address in src.

Nothing looks broken, which is why these errors slip by. Owners assume any visible photo is indexable. Developers use srcset or picture without a fallback in src, which Google says some crawlers can't read. Photos stored on a separate image service, called a CDN, can be listed in an image sitemap even though they sit on another domain, and Google encourages verifying that domain in Search Console so it can report crawl errors.

Image tags also carry alt text, the written description that Google says helps people who use screen readers, and it is added through the image tag's alt attribute. The Department of Justice's ADA guidance for businesses cites WCAG and Section 508 as helpful technical standards for web accessibility, so moving key photos into image tags with alt text serves both Google and customers who use screen readers.

Maryland laws and agency guidance cited above:

What to do this week

3 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
Ask whoever runs your website whether your main photos use regular image tags or are set as background images.
02
Move important photos out of background images and into regular image tags.
03
Make sure any responsive image setup also includes a standard fallback image address.

In Google's words

“Using standard HTML image elements helps crawlers find and process images.”

Google, exact quote · Image SEO Best Practices · checked against this page 2026-11-28

What Google says

Google says standard HTML image elements make images easier for crawlers to find and process, and it reads images from the src attribute of an <img> element, including one nested inside a <picture> element. CSS background images are not indexed. Because some browsers and crawlers don't understand <picture> or srcset, Google recommends always giving a fallback URL in the src attribute.

Report an error