Einzelnen Beitrag anzeigen

  #1  
Alt 23.06.2008, 20:22
StephenBungert
Gast
 
Beiträge: n/a
Standard [TYPO3] Re sizing images in an extension

I have an extension that I'm writing that display's images. I want to use
TYPO3's ability to resize images to display them smaller than they are, but
so that they still look ok.

I have discovered from looking at other extensions and from the mailing list
that you can do this:

$imgConf['file'] = 'uploads/tx_sbportfolio/' . $imageName;

$imgOutput = $this->cObj->IMAGE($imgConf);

I can see the image on my website, but at its full size. How can I resize
it? I saw in the tsref that the IMAGE object has a params property, I tried
setting this, things like hspace worked, but width and height didn't.

How then do I resize the image?

-----
--
Stephen Bungert
--
View this message in context: http://www.nabble.com/Resizing-image...p18075150.html
Sent from the TYPO3 English mailing list archive at Nabble.com.

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english