[TYPO3] re sizing images in tt_news
Chris
chris at oblady.com
Fri Jul 4 11:52:57 CEST 2008
You wrote :
maxWidth = 150
maxHeight = 100
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/2/
=> maxW & maxH would be better ;-)
Anyway, I think what you should use is this, according to TSRef :
width=150m
height=100m
if you want to keep correct image proportions
StephenBungert a écrit :
> If I do that, the images will be distorted,
>
> I want TYPO3 to do it so the images are adjusted to size with Imagemagik.
>
> There must be away of getting fixed size images scaled so that the image
> takes up the width and height specified.
>
>
>
> Antonio Willybiro [awillys] wrote:
>> Hi,
>>
>> maybe you should go it in css then,
>> .foo img {
>> width:150px
>> height:100px;
>> }
>>
>> A.
>>
>> "StephenBungert" <stephenbungert at yahoo.de> wrote in message
>> news:mailman.12300.1215097626.4573.typo3-english at lists.netfielders.de...
>>> This is driving me crazy, can someone give me some tips on how do solve
>>> my
>>> problem?!?
>>>
>>> I want the images in list view to be 100px high by 150px wide. I want the
>>> image to take up the whole space, so there is no empty space on the
>>> sides,
>>> so they should be scaled if they are too small.
>>>
>>> This is what I have now:
>>>
>>>
>>> plugin.tt_news {
>>> displayList {
>>> image {
>>> file {
>>> width = 150c
>>> height = 100
>>> maxWidth = 150
>>> maxHeight = 100
>>> }
>>> }
>>> }
>>> }
>>>
>>> Forsome reason this makes images 120 x 90 pixles, why's that? I set it to
>>> 150x100, or have I got my TS wrong?
>>>
>>> Sometimes the image are portrait sometimes landscape. Whatever it is, I
>>> want
>>> TYPO3 to automatically size to my size and scale it so the image takes up
>>> the whole space.
>>>
>>> How can I achieve this?
>>>
>>> -----
>>> --
>>> Stephen Bungert
>>> --
>>> View this message in context:
>>> http://www.nabble.com/resizing-images-in-tt_news-tp18260193p18260193.html
>>> Sent from the TYPO3 English mailing list archive at Nabble.com.
>>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>
>
> -----
More information about the TYPO3-english
mailing list