Skip Menu |
 

This queue is for tickets about the Template-TT2Site CPAN distribution.

Report information
The Basics
Id: 11246
Status: resolved
Priority: 0/
Queue: Template-TT2Site

People
Owner: jv [...] cpan.org
Requestors: william [...] knowmad.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.94
Fixed in: (no value)



Subject: Add title attribute into img tag
Download (untitled) / with headers
text/plain 136b
I like to use the title attribute for my images. This patch adds support for an optional title element in the images configuration file.
Download image.diff
text/x-diff 422b
--- 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" />
Download (untitled) / with headers
text/plain 249b
[guest - Wed Jan 26 14:11:37 2005]: Show quoted text
> I like to use the title attribute for my images. This patch adds > support for an optional title element in the images configuration > file.
Nice suggestion. But shouldn't the title be HTML-wrapped? -- Johan


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.