Okay, super, ich habs nun so gemacht:
10 = COA
10.wrap=background-image: url(|);
10.10 = IMG_RESOURCE
10.10.file {
import = uploads/tx_templavoila/
import.field = field_content
import.listNum = 0
import.current = 1
maxW = 480
minW = 480
maxH = 280
minH = 280
}
Besten Dank Katerina vom Chris und LG
Am 15.01.2010 12:12, schrieb Katerina Volkova:
Hallo Chris,
Versuch mal folgendes:
- Du mappst das background-image: url (); und zwar als Attribute
tag:attr:style
Editing Type: none
- dann mappst Du das bild an sich, no mapped, Editing Type: Image Field
Dann muss die DS verändert werden: vor der Zeile mit
<tags>...:attr:style</tags>
<TypoScript>
10=COA
10.wrap = background-image: url ();
10.10 = IMG_RESOURCE
10.10.file {
file.import = uploads/tx_templavoila/
import.field = field_content
import.listNum = 0
}
</TypoScript>
Den nachfolgenden TypoScript entfernen, sonst funktioniert das nicht
lg
-----Ursprüngliche Nachricht-----
Von: typo3-german-boun...@lists.typo3.org
[mailto:typo3-german-boun...@lists.typo3.org] Im Auftrag von Chris
Bernhard
Gesendet: Freitag, 15. Januar 2010 11:53
An: typo3-german@lists.typo3.org
Betreff: Re: [TYPO3-german] Templa Voila Hintergrundgrafik Mappen
Okay, jetzt hab ich zumindest schon mal folgende Ausgabe:
<div id="intro" style="uploads/tx_templavoila/bg_intro_start.jpg">
Wenn ich im Feld Data Processing das hier schreibe, funktionierts auch
nicht:
10 = IMG_RESOURCE
10.file.XY = 480,280
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 480
10.file.minW = 480
10.file.maxH = 280
10.file.minH = 280
10.file.stdWrap = background-image: url (|);
Und im Custom stdWrap Feld einfach nur:
background-image: url (|);
klappt ebensowenig... Ich verwende übrigens 4.3 und Templa Voila aud dem
aktuellen SVN...
Danke und beste Grüße vom Chris
Am 15.01.2010 10:38, schrieb Chris Bernhard:
Hi zusammen,
stehe mal wieder vor einem kleinen bzw. größeren Problem. Zwar möchte
ich folgende HTML-Struktur mappen:
<div id="intro" style="background-image:
url(img/bg_intro_start.jpg);">
Sprich, ich versuche, das Element als Attribute zu mappen, stelle das
Ganze auf Attribute:Style und als Element Preset wähle ich:
Image field, fixed W+H!
Damit bekomme ich zumindest schon mal folgende Ausgabe:
<div title="" alt="" height="280" width="480" bg_intro_start.jpg=""
tx_templavoila="" uploads="" style="" id="intro">">
Was muss ich denn machen, damit innerhalb von Style eben mein
Backgroundimage liegt?
Danke und beste Grüße vom Chris
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german