Image tags for SEO not showing up in source code of pages
When I upload images onto my blog (http://schoenfeldt.com/blog) I am careful to fill out all of the fields, “Alternate text” “Caption” and “Description” I do this so that people searching for my images on any search engine’s image search will find them.
The thing is, when the post is complete, the description tag, it does not show up in the page source. Where does it go? Is it just for my benefit, does it serve no purpose?
Here is an example. On this post: http://schoenfeldt.com/blog/360/weddings-from-the-archives-san-ramon-wedding-from-2004/ in the description for the images I put “Photos shot by San Francisco Photographer Alex Schoenfeldt.”
Now here is one of the images in page source:
<img width=”150″ height=”100″ src=”http://schoenfeldt.com/blog/wp-content/uploads/2010/03/IMG_6976-150×100.jpg” class=”attachment-thumbnail” alt=”Bridesmaids Help Bride Get Ready” title=”IMG_6976″ />
So we have the image title, “IMG_6976”. We have the alternate title “Bridesmaids Help Bride Get Ready” but where is the description? Where did it go? Is this fixable?
Thanks for your help.
That is the raw image path. You won’t get the alt and title displayed as the way you entered on that page. You should not worry about that since Google most likely will index the image from your post and not from the upload directory. By the way, it is a good advice to block that directory from bots anyway.
Hfort. Thanks for the effort. The thing you said was the raw image path, that was just copied from the page source that you can see if you select “show source”
What I’m saying, and is still not answered, is the “description” field, it doesn’t show up anywhere. It is not on the page, it is not on the source.
When you say “By the way, it is a good advice to block that directory from bots anyway.” I do not know what you are talking about, but I think you might be confused because like I said above, the details I copied were just page source.
Anyone else have any help on this? I’d still like to know if the “description” field is (or can be made to be) any use.
Hi Alex, sorry if I confused you.
Correct me if am wrong, but the source code you copied from this place http://schoenfeldt.com/blog/wp-content/uploads/2010/03/IMG_6976.jpg . If so, that is not a page and neither you or any other wordpress user will get any image tile or alt tags on that (raw image location).
On the real page/post (http://schoenfeldt.com/blog/360/weddings-from-the-archives-san-ramon-wedding-from-2004/), the source code shows both the title and alt and everything is fine there. It is from there that Google indexes your images and reads the title and alt tags.
Usually, the directory “upload” it is blocked from crawling because it is a good advice to block bots from crawling your core directories. http://schoenfeldt.com/blog/wp-content/uploads/
It seems you are confused about this place http://schoenfeldt.com/blog/wp-content/uploads/2010/03/IMG_6976.jpg . Again that is a page generated on the fly by the browsers in order to show the raw image. Not a page generated by wordpress.
You were in fact wrong. The source code I copied was from http://schoenfeldt.com/blog/360/weddings-from-the-archives-san-ramon-wedding-from-2004/
I didn’t copy the whole thing, I just took out the code from one image to show that the “description” that I entered was not showing.
And that brings me back to my original question, which remains unanswered. Their is a field to enter a “description” when you upload a photo. I have been doing so, but I can not see that information anywhere after. It is not in the source of the page, it is not on the page itself.
So, either I am missing where this “description” filed gets put, or it is useless. If it is useless, I’ll save my time, If it gets put somewhere I will keep doing it as I think it could help people find my images via search.
- The topic ‘Image tags for SEO not showing up in source code of pages’ is closed to new replies.