[TYPO3-english] ttnews single view image width stuck at 300px

amadeo Marketing & Design - Paul Garais garais at amadeo-marketing.de
Thu Apr 3 11:03:27 CEST 2014


Hi Simon,

try this in your template (setup):

plugin.tt_news.displaySingle {
image {
file >
file.maxW = 600
}
}

This one is for the single-view. You have to adapt it for the other views.
You should also look into the setup.txt and constants.txt which you can find in the "static" folder 
of the extension on your server. Should be helpful.


Greetings,

	

*Paul Garais*


Tel. (02 51) 620 651-73
Fax (02 51) 620 651-69

garais at agentur-eulenblick.de
www.agentur-eulenblick.de

Albersloher Weg 662 • 48167 Münster


Am 03.04.2014 10:45, schrieb Simon Child:
> Does anyone have any suggestions for this problem, please?
>
> Thank you
>
> Simon Child
>
> "Simon Child"<simon at srchild.com>  wrote in message
> news:mailman.1.1395060224.15884.typo3-english at lists.typo3.org...
>> I am struggling to find the setting that fixes images at a width of 300 in
>> tt_news single view
>>
>> - If I insert an image into an standard content image on a page using rte
>> then width is not restricted to 300
>>
>> - But every image I insert into news item text using rte gets reduced to
>> 300
>>
>> I can't find the setting for this anywhere to change it.
>>
>> template analyser search for 300 doesn't find it.
>>
>> I've changed various settings hoping that one of them was the cause but no
>> luck so far. Where to look next?
>>
>> TYPO3 4.7, tt_news 3.52
>>
>> I have in page tsconfig
>>
>> #image dimensions for RTE
>> RTE.default.buttons.image.options.plain.maxWidth = 600
>> RTE.default.buttons.image.options.plain.maxHeight = 1000
>> RTE.default.buttons.image.options.magic.maxWidth = 600
>> RTE.default.buttons.image.options.magic.maxHeight = 1000
>>
>> #max dimensions for RTE within news/blog context
>> RTE.config.tt_news.bodytext.image.options.plain.maxWidth = 600
>> RTE.config.tt_news.bodytext.image.options.plain.maxHeight = 1000
>> RTE.config.tt_news.bodytext.image.options.magic.maxWidth = 600
>> RTE.config.tt_news.bodytext.image.options.magic.maxHeight = 1000
>>
>>
>> in template I have
>>
>> styles.content.imgtext.maxW = 600
>> styles.content.imgtext.maxWInText = 600
>> plugin.tt_news.singleMaxW = 500
>> plugin.tt_news.singleMaxH = 600
>>
>>
>> But still rte in tt_news item gives
>>
>> <img src="http://www.nvug.org/uploads/RTEmagicC_pic_20.png.png"
>> width="300" height="205" txdam="1982" />
>>
>> What do I need to change?
>>
>>
>> Thanks
>>
>> Simon
>>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list