Closed (won't fix)
Project:
Universal Link Filter
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2008 at 18:10 UTC
Updated:
10 Jul 2008 at 10:19 UTC
Currently, the full-size images can be displayed with thickbox or lightbox2 by simply typing "class=thickbox" or "rel=lightbox[grouping]" into the link attributes field. Those modules will also use the link's title attribute as the full-size image's caption, but I couldn't find any way to pass a dynamic value through that field.
This patch adds a new checkbox field onto the ulink_imagecache settings form at /admin/settings/ulink/image
When checked, the normal title attribute in $link['attributes']['title'] is also output as the title attribute for the link to the full-size image.
| Comment | File | Size | Author |
|---|---|---|---|
| ulink_imagecache.linktitleattr-0.patch | 1.63 KB | ashtonium |
Comments
Comment #1
garthee commentedThe option is already available
For instance, by creating a macro "tb"=>"class=thickbox" in General settings will make this available with
[l-tb|path_to_image|text|title=my_title]
But when title attribute is absent in additional attribute sections, it uses text as title thus
[l-tb|path_to_image|my_title]
will be sufficient.
Note it is the previously created macro that will add class attribute automatically when [l-tb .. is used instead or [l..