Subject: | Add title attribute into img tag |
I like to use the title attribute for my images. This patch adds support for an optional title element in the images configuration file.
--- image 2005-01-16 11:15:02.000000000 -0500
+++ /usr/local/lib/perl5/site_perl/5.8.6/Template/TT2Site/lib/util/image 2005-01-24 18:33:31.000000000 -0500
@@ -6,4 +6,5 @@
-%]
<img src="[% image.src %]" alt="[% image.alt %]"
[%- ' align="' _ image.align _ '" ' IF image.align -%]
+ [%- ' title="' _ image.title _ '" ' IF image.title -%]
width="[% image.width %]" height="[% image.height %]" border="0" />