Closed (works as designed)
Project:
Shadowbox
Version:
6.x-4.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2011 at 20:40 UTC
Updated:
4 Nov 2011 at 21:10 UTC
[code]
![]()
[/code]
It would be great for SEO to pull add an Alt and Title tag from the Imagecache Title and Description Fields.
My imagecache thumb includes both, but the Shadowbox overlay does not.
Comments
Comment #1
B.P.B commentedNo alt or title tags.
Comment #2
manfer commentedI really don't know where you are getting that code from. The output of an image field with shadowbox format is something like this:
The value of the title attribute is going to depend of what you have configured in the shadowbox settings for that field. It can be the node title, the image title or the description of the image. Obviously if it is configured as image title and then the person who uploads the image does not provide a title or if the field is not configured to allow a custom title then there would not be title on the image. Same for description...
The value of the alt field is the alt of the field. Again if the field is not configured to allow the user that uploads the file to provide an alt value or if the user that uploads the image does not provide that value, then it is going to be blank.
But both title and alt are supported by shadowbox and if a thumbnail image finishes without those values is because of the user not providing them.