[TYPO3-calendar] EventView: Setting maximum image width doesn't work

Mario Matzulla mario at matzullas.de
Sun Sep 27 15:02:37 CEST 2015


Hi Kesandal,

Am 27.09.15 um 12:03 schrieb Kesandal:
> Hello,
> 
> I'm trying to limit the maximum width of images in event-view.
> 
> No matter which settings I set; cal ignores them.
> 
> Here is my typoscript:
> 
> plugin.tx_cal_controller {
> ...view.event.event {
> .......image {
> ...........stdWrap.dataWrap = |
> ...........
> ...........maxW.override.override = 200
> ...........maxWInText.override.override = 200
> ...........cols.override = 1
> .......}
> .......description_image {
> ...........maxW.override.override = 200
> ...........maxWInText.override.override = 200
> ...........
> ...........cols.override = 1
> .......}
> ...}
> }
> 
> Is there anything i'm missing?

Cal uses typoscript to render its images. There is no magic behind it. You can define the maxW through the constants:

plugin.tx_cal_controller.singleMaxW =

or through the setup:

plugin.tx_cal_controller.view.event.event.image.maxW =

Please doublecheck your settings using the typscript object browser.

Regards,
Mario
> 
> Thanks in advance



More information about the TYPO3-project-calendar mailing list