[TYPO3-commerce] listView.products.fields.images.file.maxW =

Michiel Roos michiel at netcreators.com
Tue Oct 23 10:49:36 CEST 2007


media.res | Alex Widschwendter wrote:
> hi,
> 
>>           teaser < lib.tx_commerce.stdField_RTE
>>             teaserimages =IMAGE
>> -           teaserimages {
>> -             defaultImgConf {
>> -               file.import.current = 1
>> -             }
>> -             file.maxW = 150
>> +           teaserimages {
>> +             file.import.current = 1
>> +             maxW = 150
>>             }
>>
>>           }
>>
>> Changing the default typoScript does not have the desired effect.
> 
> teaserimages {
> file.import.current = 1
> file.maxW = 150
> }
> 
> put file in front ob maxW. maybe this helps...
> 
> alex

Hi Alex,

You are actually saying don't change your TS, leave it as it was before 
you checked out the freshest code from svn/trunk.

So now I have this TS which tries to force the 150 both ways:


# set default image widths
lib.tx_commerce {
	articles {
		fields.images {
			file.maxW = 200
			file.maxH = 200
		}
	}
	categories {
		fields.images {
			file.maxW = 60
			file.maxH = 60
		}
	}
	products {
		fields.images {
			file.maxW = 200
			file.maxH = 200
		}
		fields.teaserimages.file.maxW = 150
		fields.teaserimages.maxW = 150
	}

}

It still does not work.

What changed in the code that I don't know about?

Kind regards,


Michiel Roos

-- 
Netcreators BV :: creation and innovation
www.netcreators.com

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/


More information about the TYPO3-project-commerce mailing list