[Typo3] Templa Voila Image Fields????

Bernhard Kraft kraftb at kraftb.at
Fri Jun 3 20:42:38 CEST 2005


Chris Van Pelt wrote:
> I was messing with an image field in a template of mine.  I told it to
> be fixed W + H, and only applied a height parameter in the image tag. 
> Templa voila seems to be cropping and resizing the image.  It is also
> converting my jpeg into a gif.  How can I control this?  Ideally the
> image would be resized to a specific height, keeping the aspect ratio.
>  Any idea's??
> 
> Thanks

Click on the Icon of the DS containing the Image field and select "Edit"
you will see the XML of the DS.

Search for

<field_myfield type"array">
	...
	<TypoScript>
		10 = IMAGE
		10. blabla
		
		# Define here:
		# 200 pixels width, keep aspect ratio
		10.width = 200m	
		# High quality jpg's
		10.format = jpg
		10.quality = 90
	</TypoScript>
</field_myfield>



More information about the TYPO3-english mailing list