Zum Inhalt springen

link auf ein bild setzen

Erstellt am 18. Juli 2006 · 2 Antworten · letzte Antwort am 20. Juli 2006

Tags: Frage

marcelv ·

hallo zusammen

ich hab ein template mit 2 bildern gemappt.
wie kann ich jetzt auf diese 2 bilder je einen link setzten.

fritze3001 ·

Hallo marcelv,

schau doch mal in die typo3 wiki. dort gibt es den punkt

"Adding alt and title tags to images and allow image linking and scaling via width - height fields

This can be easily achieved because you can access all fields defined in the DS with TypoScript. If you replace the image definition inside the DS after mapping an image field with the following code, you will be able to add a titletext, alttext, an image link and values for image-width and height and the image will be rendered accordingly. "

du tauscht den vorhandenen xml part einfach mit dem im wiki beschriebenen Teilen aus und schon müsste es gehen.

http://wiki.typo3.org/index.php/TemplaVoila#Adding_alt_and_title_tags_to_images_and_allow_image_linking_and_scaling_via_width_-_height_fields[/quote]