[TYPO3-german] parameter in IMAGE-Tag - aber nur wenn Link = aktuelle Seite

Christian Hernmarck linux at lists.hernmarck.ch
Tue Oct 6 22:00:59 CEST 2009


Hallo!

JoH asenau schrieb am Dienstag, 6. Oktober 2009 17.15 im Beitrag
<mailman.1.1254842146.9252.typo3-german at lists.netfielders.de>:

>> Jetzt fehlt mir noch die Pid der Verlinkung des Bildes...
> 
> Was klappt denn mit
> equals.field = image_link
> nicht?

da passiert nichts...

> Hast Du vielleicht TV im Einsatz?

nein

> Dann gelten bestimmte TypoScript-Spielregeln leider nicht, weil TV
> die systematisch aushebelt.
> 
> Versuch's dann mal mit
> equals.data = field:image_link

geht auch nicht.

tt_content.image.20 {
 1 {
  params = class="aktiv"
  params.if {
   # aktuelle Seiten-ID
   value.data = TSFE:id
   equals.data = field:image_link 
  }
 }
}

ich glaube, es liegt eher tiefer:
mann diese 1 ist ja eine Nummerierung, wie die Bilder zu rendern sind.
Doku: 
***
1,2,3,4

->IMAGE (cObject)

Rendering of the images

The register "IMAGE_NUM" is set with the number of image being
rendered for each rendering of a image-object. Starting with zero.

The image-object should not be of type GIFBUILDER!

Important:

"file.import.current = 1" fetches the name of the images! 
***
und
***
imgObjNum

imgObjNum +optionSplit

Here you define, which IMAGE-cObjects from the array "1,2,3,4..." in
this object that should render the images.

"current" is set to the image-filename.

Example:

"imgObjNum = 1 |*||*| 2":

This would render the first two images with "1. ..." and the last
image with "2. ...", provided that the ".imgList" contains 3 images.
***

dh. ich müsste imgObjNum so setzen, dass alle Bilder wie "1."
gerendert werden, aber das *aktuelle* wie "2."...

Sowas in der Art...

Danke für die Hilfe

Ch



More information about the TYPO3-german mailing list