[TYPO3-templavoila] Default size for image-type elements

Dmitry Dulepov dmitry at typo3.org
Mon Feb 12 10:19:15 CET 2007


Hi!

Francois Suter wrote:
> When setting the type of an element in a DS as "Image", the default TS 
> found in the XML is the following:
> 
> <TypoScript>
>     10 = IMAGE
>     10.file.import = uploads/tx_templavoila/
>     10.file.import.current = 1
>     10.file.import.listNum = 0
>     10.file.maxW = 200
> </TypoScript>
> 
> The maxW is pretty weird. Why should there be a default width set? Is 
> there some reason for that? Can it be changed somehow? If not, shall I 
> open a feature request in the bugtracker for removing this default?

If I am not very much mistaken, it takes value from the source image 
that you have in the template.

I do not think that removing default is good. It usually works for most 
cases because (1) people design templates with specific image size in 
mind and (2) if you remove this value, typo3 will still use the default 
but I do not remember where it is configured.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)


More information about the TYPO3-project-templavoila mailing list