[ic] Using image & makesize within perl tag

Mike Heins mike at perusion.com
Thu Mar 10 14:23:42 EST 2005

Quoting Peter N. (interchange at framework.ws):
> >> Can anyone tell me what the proper syntax is to use the [image] tag's
> >> makesize feature within the Perl tag?  It works fine until I add the
> >> makesize attribute.
> >
> >Hi Peter,
> >
> >Yes, [image] puts a lot of assumptions on your setup. When
> >makesize= is used, the tag must write a resized image in the directory
> >named after the size specification.
> >
> >It tries to do that in $Variable->{DOCROOT}/images/XxY/ directory.
> >
> >My guess is that you do not have DOCROOT variable defined in your
> >catalog.cfg.
> Hi Davor,
> I have DOCROOT defined in my products/variable.txt file.
> The image tag with makesize attribute is working fine normally, in ITL, 
>  but it croaks when I use it within the perl tag, which is why I 
> thought I might have a syntax error.
> Any other ideas?

It probably will not work under Safe, since it calls the ImageMagick
mogrify via system().

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Be patient. God isn't finished with me yet.  -- unknown

More information about the interchange-users mailing list