Images from website not showing on Google Images

Caporegime
Joined
18 Oct 2002
Posts
25,287
Location
Lake District
I may wish to have google index the pictures on my site, I thought I had been using robots.txt to deny it but this is not the case, the images are parsed through a php script which watermarks them for users that are not logged in in the format www.domain.com/preview.php?id=blah

Could this be the reason they are not being indexed?
 
Hi PiKe

So you're not rewriting the url to mimic the original images extension? I would say that could quite possibly be the issue.
 
Are you on windows box? If you're using unix/apache you can create a htaccess file to use rewritten URLs so you can 'fake' the php files using a header in the php to output the image mime-type.
 
Google won't index dynamic pictures, what PMWD suggests will "fake" the dynamic images as a static image.

So you could "rewrite" the url for "image.php?id=123" as "image123.jpg" and Google would think this to be a static image, and thus index it.
 
Back
Top Bottom