Google & Lightbox JavaScript: Can GoogleBot Index Images in Lightbox JS?

Dec 28, 2009 - 8:07 am 2 by

A WebmasterWorld thread has discussion around getting Google to index a popular image feature sites use to show off images on their web site. It is called Lightbox JS and it basically uses JavaScript to open up a neat larger view of the image on the page.

I use it on many sites, but you can see a quick example on the RustyBrick Mobile Portfolio. Just click on the image and it opens up a larger picture of that image. Here is a screen capture showing the larger image as it overlays on top of the page:

Lightbox & Google

The issue is, GoogleBot is having a tough time capturing these images in their index. WebmasterWorld administrator, Tedster, explained:

I've been up against the same challenge. Even though regular Google search is aggressively discovering URLs and content by spidering JavaScript, apparently the image bot is not so inquisitive at this point. This surprised me, because there are many images being displayed through Lightbox scripts these days.

Yes, GoogleBot is able to execute JavaScript, but is GoogleImageBot able to at the same pace?

Tedster is exploring other ways to get GoogleBot to index Lightbox JS. He tried the following method, but it doesn't seem to work:

My latest attempt involves making the anchor part of the link a thumbnail image - but the thumbnail is not just a smaller version of the larger image. I use the same exact image file for the anchor, but I resize it on the the page with the HTML width and height attributes. This means that the page loads more slowly, but at least the image bot gets a direct <img src=[url]> style mark-up.

If you have a solution, let us know.

Forum discussion at WebmasterWorld.


Popular Categories

The Pulse of the search community


Search Video Recaps

Google Spam Update, Volatility &amp; Indexing Bug, AI Overviews, Google Maps Exploit, Ads, Applebot - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: June 24, 2024

Jun 24, 2024 - 10:00 am
Google Ads

Google Ads To Bring Automatically Created Assets To Ad Level?

Jun 24, 2024 - 7:51 am

Google Perspectives Can Show Instagram Posts

Jun 24, 2024 - 7:41 am
Google Search Engine Optimization

Google Structured Data Carousel Guidance On How To Markup Multiple Items On Category Pages

Jun 24, 2024 - 7:31 am
Google Maps

Google Using AI Overviews On Business Profiles Local Listings

Jun 24, 2024 - 7:21 am
Google Search Engine Optimization

Google: When You Should Fix Pages 404 Status Codes

Jun 24, 2024 - 7:11 am
Previous Story: Porn on Google Image Search with Strict Search On