Forum Moderators: Robert Charlton & goodroi
This page displays a photo with a short description about it. However, when viewing the source code, I noticed that there is no "jpg" filename anywhere.
Is this bad for Google Images? Will they not be able to tell that I have a big photo on this page?
<img src="/d/3504-2/egyptian-f16d-hangar" width="500" height="400" alt="Egyptian F-16D in hangar" longdesc="Hardened Aircraft Shelter with a F-16D. Completed in February 1996. Gianaclis Air Base, Egypt."/>
There is no "jpg" anywhere. I am using an open source photo gallery system called GALLERY2.
I can't say 100% for sure, but I think google will still request your images from your server and index them - you can see more definitively by lookingin your server logs. My assumption is that the <img> element is the key, not the file extension.
If in doubt (and there is some room for doubt here, technology being the strange bird that is is) I would not rewrite the urls for images when image search is important. Get a tecchie to help you as needed.
I can easily rename the filenames and append a 'jpg' to it so it looks like this when VIEWING SOURCE code:
<img src="/d/3504-2/egyptian-f16d-hangar.jpg" width="500" height="400" alt="Egyptian F-16D in hangar" longdesc="Hardened Aircraft Shelter with a F-16D. Completed in February 1996. Gianaclis Air Base, Egypt."/>
Notice the img srce now prints the filename with the 'jpg' extension.
However, interestingly, now my photo page URL is: blah/egyptian-f16d-hangar.jpg.html
Notice the 'jpg.html' extension. This shouldn't be harmful, is it?
Thanks again.
What I wanted to ask was whether I have any reason to be concerned about my URLs ending with "jpg.html"? I did a Google search and having a hard time finding URLs that contain that kind of extension.