Mobile app version of vmapp.org
Login or Join
Moriarity557

: How to SEO Optimize JavaScript Image Loader? I am building an image-centric catalog website. It catalogs collectible gaming cards numbering 100,000+ pages. There are competitor sites receiving millions

@Moriarity557

Posted in: #Google #Javascript #PhotoGallery #Seo

I am building an image-centric catalog website. It catalogs collectible gaming cards numbering 100,000+ pages. There are competitor sites receiving millions of hits each month, so with the possibility of excessive traffic, I need to moderate image bandwidth while also optimizing for image SEO. I'm looking for some tips on doing so.

Each page on the site features one card with appropriate tags and descriptions. There are however four images for each card - one on matte cardstock, one on foil cardstock, one digital, and one digital foil. In a world with unlimited bandwidth and no-wait page loads, I'd simply embed all four images on the main product page with titles, alt tags, and captions to rank them according to their version keyword. In reality, a JavaScript gallery image loader seems appropriate.

Here is a simplified example of my current code: I left out the thumbnail-to-full image replacement script for simplicity. Would this affect SEO in any way? Should I be doing anything differently? Note that I don't want to create a page for each image as I'd have to duplicate the card tags and descriptions on each one, diluting PR for the main page. Thanks for any insight!

<script type="text/javascript">
document.write('
<img src="thumbnail1.jpg" data-src="version1.jpg">
<img src="thumbnail2.jpg" data-src="version2.jpg">
<img src="thumbnail3.jpg" data-src="version3.jpg">
<img src="thumbnail4.jpg" data-src="version4.jpg">
');
</script>
<noscript>
<img src="version1.jpg">
<img src="version2.jpg">
<img src="version3.jpg">
<img src="version4.jpg">
</noscript>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity557

1 Comments

Sorted by latest first Latest Oldest Best

 

@Lee4591628

For SEO you would like to add ALT attributes to each image. As for the names, it would be better if they describe what is on the image. If thats impossible take tags/category/subcategory and put that into your link. You may end up on making randomized names like:

your-key-words-imgID.jpg

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme