Posted on 2013-12-11
Medium Priority
Last Modified: 2014-03-04
We have a set of images that can't be spidered by google becuase they are hidden. How do we get this content spidered here is the code

this is the code app.js and we have determine if it is indeed a java application. It looks more like it is a “shortcut” function to load the jquery library. You can view the code here: http://www.sandals.com/assets/js/app.js
This makes sense to us because jquery libraries are often used for media-rich content like slideshows, zoom photo albums and video content.
So the page source code that controls the “media-loading” we believe

<script src="/assets/js/views/smb/media.js"></script>
Which loads this script:
require(['/assets/js/app.js'], function(){

The first line appears to call the jquery library into action …and the second line of code referencing the resort-media.js is what I believe actually loads the images, video and all on the page.

So how do we get google to spider the images that this is pulling
Question by:atlantathomas
LVL 86

Expert Comment

ID: 39712272

Author Comment

ID: 39712510
We know that. But how do we get the content to get indexed. some have suggested seo.js others phatom.js
LVL 86

Expert Comment

ID: 39712586
We know that.
I'm wondering why you posted in Java TA then? You'd probably be better off posting in web-related TAs
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

LVL 36

Expert Comment

ID: 39712868
I have removed the following topic areas

-- Java Programming Language
-- Java Application Servers
-- JSP

and added the following topic areas

-- Javascript
-- Search Engine Optimization
-- Misc. Web Development

mccarl   --   Topic Advisor
LVL 83

Expert Comment

ID: 39712876
what is your server side language?
LVL 16

Accepted Solution

hankknight earned 2000 total points
ID: 39715039
If you want the images to be spidered by Google and other search engines even though they are not linked to, follow the two steps below.

### 1 ###

Create an XML sitemap pointing to your hidden images.

### 2 ###
Make sure that they are not being blocked by your sites's robots.txt file.


Use this tool (or a simular tool) to test the link to the image and make sure that they are not being blocked:

Then make sure your robots.txt file points to your sitemap.  The last line of your robots.txt file should look  like this:
Sitemap: http://example.com/sitemap_location.xml

Open in new window


Expert Comment

ID: 39716806
Create a image sitemap and submit to Google Webmaster Tools - https://support.google.com/webmasters/answer/178636?hl=en
LVL 29

Expert Comment

by:Bernard S.
ID: 39718446
(Your problem comes from the fact that no Spider RUNS javascript -nor Flash-.
They just read HTML... Since your file names are not présent in the initial html source code, they are not visible by spiders.
 Placing them in sitemap makes them visible. You can even place on your site a mini to the XML sitemap, since spiders understand xml

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The Super Bowl is just days away. Millions of advertising dollars will be spent in just a few hours to drive people to websites around the globe. Optimizing your site in anticipation of a big event like this (and the traffic surges that follow) will…
Tips to improve your website rankings without needing to change content...
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question