Mobile app version of vmapp.org
Login or Join
Smith883

: Several images are displayed in one tag that's changeable via JavaScript - is that OK for those images to be indexed by Google? I have a page which should contain text and several images

@Smith883

Posted in: #GoogleImageSearch #ImageSearch #Seo

I have a page which should contain text and several images related to this text.

I'd like to show only one image on the page and let the user change the image by clicking a "->" button (via JavaScript).


Will all of those images be indexed by Google (and others)?
How will Google decide which image to show to the user, as they all have the same position on the page, same text, description and other tags?


Or could you suggest a better solution?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

Do this in reverse: show all the images, and via JavaScript (onload) hide the ones you don't need.

As for telling Google what image to use, you can do such things with structured data - see this for guided help with that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme