[TYPO3-dev] [Fwd: Re: text/img and img elements with css-class?]
Franz Koch
typo.removeformessage at fx-graefix.de
Thu Dec 11 13:35:32 CET 2008
Hey guys,
> This leaves two questions for me:
>
> * how to calculate/set the physical size of the image?
>
> Normally TYPO3 scales down images if they are too large for the Web.
> Where will this value be set by whom? I doesn't make sense to let the
> browser scale down a full-size image coming from a digital camera.
>
> Maybe there can be a global preset that can be overridden individually.
>
> * What is to be done with elements that have more than one image?
>
> TYPO3 now calculates the width of an individual image by taking into
> account the total number of images per row and the expected spacing
> between the image columns. This can of course not be achieved with fix
> CSS classes. I think it could still work with % values as you can divide
> of course also the total width in % on the various images in the row.
> But what to do with the vertical spacing? You cannot express this in %.
please read my posting in the content rendering group where the
discussion from the core list has been outsourced. There I describe a
way how to do quite anything with the images and how the pixel values
for the scaled down images could get calculated.
--
kind regards,
Franz Koch
More information about the TYPO3-dev
mailing list