Reviewed & tested by the community
Project:
Image Assist
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2009 at 21:38 UTC
Updated:
15 Aug 2010 at 22:30 UTC
When viewing an inline image, if there is no Title or Description set then the 'alt' attribute is also blank.
Have made patch to add a check for $caption before resetting the node title.
| Comment | File | Size | Author |
|---|---|---|---|
| img_assist.module.patch | 683 bytes | vivaelamor |
Comments
Comment #1
vivaelamor commentedTested bug and patch for 6.x-2.0-alpha4 and changed version, hoping to get review faster =)
Comment #2
locomo commentedSame is true for the title attribute if the image is used as a link - title is blank if no title/description set.
I think its a good practice to set the title attribute so i modified img_assist.module to to include it by default using this patch as a lead
for each of the 3 link types (node, popup, url) i added a title to the attributes array, i.e.
sorry, not sure how to make a patch yet, but this is a quick fix if you desire this behavior
Comment #3
linksunten commentedWe can confirm that this important patch works - with a fuzz even for the newest dev version:
$ patch -p0 < img_assist.module_20.patch
patching file img_assist.module
Hunk #1 succeeded at 1473 with fuzz 2 (offset -251 lines).