[ic] image.tag in Perl context
Ton Verhagen
tverhagen at alamerce.nl
Tue Jul 24 07:16:21 EDT 2007
Dear All,
Seems that the image tag behaves differently when used
in Perl context: image dimensions are discarded...
Please observe the following:
[image src='os28004.gif' imagesubdir='items']
Result:
<img src="/standard/images/items/os28004.gif" width="120" height="150">
>> Image dimensions included !
[perl]
return $Tag->image( 'os28004.gif', {imagesubdir => 'items', } );
[/perl]
Result:
<img src="/standard/images/items/os28004.gif">
>> NO image dimensions !
Some additional logging (after the 'eval') in the image tag shows:
'require' trapped by operation mask at
/usr/local/lib/perl5/site_perl/5.8.2/Image/Size.pm line 20.
Best regards,
Ton
--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381 info at alamerce.nl http://www.alamerce.nl
eCommerce Solutions -- Consulting -- Website & Interchange Hosting
More information about the interchange-users
mailing list