[TYPO3-dev] how to call image function (imagemagick) from extension php

Andrew Davis andrew at theandrewunderground.com
Wed Mar 14 15:26:36 CET 2007


Hi,

I am making an extension and in the php code i want to reference / 
output an image. I can link to the image ex.

/uploads/image.jpg

in the code, but the image needs to be the correct side to display 
correctly on the frontend...

I want to use a typo3  / imagemagick way to specify image size, so that 
the user can upload various image sizes and have them display correctly 
on frontend regardless....

I see in the typoscript by example document, page 30 under IMAGE COBJECTS

page.10 = IMAGE
page.10 {
   file = fileadmin/tsbyex/alligator.jpg
   file.width = 200
}

will size the image correctly usiong typoscript, but i want to do this 
in the php in the extension.



? Any suggestions where to look?

Any help much apreciated.

Thanks in advance,
Andrew Davis




More information about the TYPO3-dev mailing list