[TYPO3-german] TS Problem - CASE auf tt_content.image <-> gridelements
Kurt Knick
kurt.knick at gmail.com
Fri Aug 29 10:12:38 CEST 2014
ah, super danke. wenn ich also sowas mache:
lib.gridelements.defaultGridSetup.columns.default {
renderObj.20 >
renderObj.20 < tt_content
renderObj.20.image.20 < temp.imagesetup
}
funktioniert es. sollte man die bildverarbeitung in den gridelements auf
eine andere art lösen ?
Am 28. August 2014 23:19 schrieb Jo Hasenau <info at cybercraft.de>:
> ich passe das renderObj in gridelements columns an um ein automatisches
>> cropping von Bildinhalten zu erreichen:
>>
>> tt_content.image.20 {
>> 1.file.width.field >
>> 1.file.height.field >
>> }
>>
>> >
>
>> 0.renderObj.20.image.20.1.file {
>>
>> Das funktioniert wunderbar.
>>
>>
>> Das lib Object wird nun über eine Section Frame Auswahl aktiv:
>>
>> temp.imagesetup < tt_content.image.20
>>
>> tt_content.image.20 >
>>
>
> Ich hab das mal auf die wichtigen Zeilen reduziert ;-)
>
> Knackpunkt ist: Gridelements arbeitet im Default-Setup mit einer Referenz
> auf tt_content und nicht mit einer Kopie. Dort steht also nicht <
> tt_content sondern =< tt_content
>
> Daher wird alles, was Du aus tt_content entfernst, dort ebenfalls
> entfernt. Also auch der komplette Block tt_content.image.20, der danach nur
> teilweise wiederhergestellt wird.
>
> Wenn Du das anders machen möchtest, musst Du an der Stelle mit einer Kopie
> arbeiten, was aber den Speicherverbrauch und die Parsetime drastisch
> erhöhen dürfte.
>
> HDH
>
> Joey
>
> --
> Diversity:
> Die Kunst zusammen unabhängig zu denken
> The art of thinking independently together.
> --
> Facebook: https://www.facebook.com/johasenau
> Twitter: http://twitter.com/bunnyfield
> Xing: http://contact.cybercraft.de
> TYPO3 cookbook (2nd edition): http://www.typo3experts.com
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>
More information about the TYPO3-german
mailing list