[TYPO3-dev] [Fwd: Re: text/img and img elements with css-class?]

grac grac at gmx.ch
Sat Dec 13 12:49:24 CET 2008


hi

@ masi

>> as i said, i use YAML with templavoila.
>> which means that among a lot of other things that each browser is fed by
>> default fontsize values (in curly brackets, of course):
>> html * = font-size: 100.01%   and   body = font-size: 75.00%  (meaning
>> 12px)
>> from there almost everything that follows is calculable in percent.
>>     
>
> This means, if I understand correctly, that TYPO3 would have to deliver
> the image only with a class attribute but no width information (or
> alternatively some inline style with width in %).
>
> 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.
>   
this is of course a matter of training the editors.
a large image doesn't have to be a heavy image.
so the original uploaded image has to be treated in advance by the editor.
which to me is a normal procedure.

> * 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 %.
>   
i guess there are several possibilities, depending on the needed layout.
there are galleries and other possibilities to show thumbnails, if 
necessary...

stephan




More information about the TYPO3-dev mailing list