I have a page that often contains large image galleries displayed with thumbnails linking to the actual images. They are then rerouted with JavaScript to open an overlay gallery instead, but I noticed that so many links on a single page can be really harmful for SEO. Is there a way around this or should I just remove the links and make JavaScript do all the work?An additional note... All the images are linking to a subdomain like img.domain.com and there are sometimes over 100 of them on a page.
Workaround a huge number of image links on a page? [SEO]
seo;links;images
Do you want your images to be ranked in Google image search?   If so, your site is doing the correct thing by linking to the full sized versions.If you don't want your images listed in image search, then letting JavaScript open your gallery and not use any links would be fine.  But it would prevent Googlebot from indexing your images and assigning enough Pagerank to them for ranking.When you said that you noticed it hurt SEO, what do you mean?  Is there a specific ranking problem that you are having, or is this based on reading about Google's advice about number of links per page?   From when it was a startup, Google gave advice that there should be at most 100 links in a page.  As far as I can tell, that advice is hogwash.  Most large sites have 200-300 links on their homepage and often nearly as many on internal pages.  Its not uncommon to find a page with 600 links that is ranking well.