Google Search Advocate John Mueller says photography sites earn more visibility in Google Images when each important photo has its own crawlable URL instead of loading through JavaScript galleries.
Why unique URLs matter
In the latest Search Off the Record podcast, Mueller explained that a dedicated URL with descriptive text is treated as an "image landing page." Clear landing pages improve a picture's chances of being indexed and ranked in image search results.
Recommended best practices
- Create a separate, crawl-accessible URL for every high-value photograph.
- Place original text near the image - subject, location, or camera data - to give Google more context.
- Keep JavaScript galleries for user browsing, but do not rely on them for search visibility.
Technical considerations
Many gallery plugins open images with "#" fragments or lightbox scripts, causing Google to treat several photos as one page and skip individual indexing. Mueller advised avoiding fragment-only navigation for images that drive organic traffic.
Developer relations engineer Martin Splitt added that modern formats such as WEBP and AVIF improve loading speed but are not direct ranking factors. Google still leans on established signals: unique URLs, relevant surrounding text, and accessible markup.
Source
The guidance comes from Mueller and Splitt’s discussion recorded on 7 November 2023.