[TYPO3-project-formidable] renderlet:IMAGE Define max width inside imageconf

Carlos Meyer cm at neonblue.de
Tue Dec 23 13:55:06 CET 2008


Hi Rego,

I try with an this code:

			    <column type="renderlet:IMAGE" name="company_photo" readonly="true">
					<folder>uploads/tx_txschoolcompanies/</folder>
					<imageconf>
						<userobj><ts><![CDATA[
						10 = IMAGE
						10.file < params.relwebpath
    					10.file.maxW = 205 
						]]></ts></userobj>
					</imageconf>	
				</column>

It works. I test with an 18px img. It keeps his width.

Regards  

-----Ursprüngliche Nachricht-----
Von: typo3-project-formidable-bounces at lists.netfielders.de [mailto:typo3-project-formidable-bounces at lists.netfielders.de] Im Auftrag von Manuel Rego Casasnovas
Gesendet: Dienstag, 23. Dezember 2008 13:08
An: TYPO3 project list for the FORMidable extension
Betreff: Re: [TYPO3-project-formidable] renderlet:IMAGE Define max width inside imageconf

Hi Carlos,

On Tue, 2008-12-23 at 13:00 +0100, Carlos Meyer wrote:
>                                                                 <imageconf>
>                                                                         <userobj><ts><![CDATA[
>                                                                         10 < config.tx_ameosformidable.res.shared.xml.imageprocess.shaded
>                                                                         10.file.50.file < params.relwebpath
>                                                                         10.file.50.file.width = 50m
>                                                                         
> ]]></ts></userobj>
> 
> </imageconf>

It does not work.

For example, with your code if you have an image of 10 px the it's resized to 50 px.

Thank you,
   Rego

--
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com



More information about the TYPO3-project-formidable mailing list