Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] FCE get Image width??? within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hello List, im trying to fix my problem with an Content Element (FEC) but with no success. my Problem is ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hello List,
im trying to fix my problem with an Content Element (FEC) but with no success. my Problem is that i have and Element and it only contain and Image and Caption for the Image. the image have Fixed Height and Flexible Width. i want to read the Flexible Width value of the image and put it as Params or Wrap inside the <p> of the caption. like: <p style="width:|;">Caption</p> this my typoscript inside FCE: #field_image: 10 = IMAGE 10.file.import = uploads/tx_templavoila/ 10.file.import.current = 1 10.file.import.listNum = 0 10.file.height = 120 #field_caption : no typoscript #field_imgwidth: ## as ATTRIBUTE 10 = TEXT 10.field = field_image 10.file.width = {field:field_image} # not working 10.wrap = width:|; # not working do you have any idea??? many thanks for your Help Regards Johannes _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
Hi Aji. Take a look at this:
http://www.typo3wizard.com/en/snippe...formation.html -- Peter Klein/Umloud Untd "Aji Johannes" <aji.yahya (AT) gmail (DOT) com> skrev i en meddelelse news:mailman.1.1180962693.3788.typo3-english (AT) lists (DOT) netfielders.de... > Hello List, > im trying to fix my problem with an Content Element (FEC) but with no > success. > my Problem is that i have and Element and it only contain and Image and > Caption for the Image. the image have Fixed Height and Flexible Width. > i want to read the Flexible Width value of the image and put it as Params > or Wrap inside the <p> of the caption. like: <p > style="width:|;">Caption</p> > > this my typoscript inside FCE: > #field_image: > 10 = IMAGE > 10.file.import = uploads/tx_templavoila/ > 10.file.import.current = 1 > 10.file.import.listNum = 0 > 10.file.height = 120 > > #field_caption : no typoscript > > #field_imgwidth: ## as ATTRIBUTE > > 10 = TEXT > 10.field = field_image > 10.file.width = {field:field_image} # not working > 10.wrap = width:|; # not working > > > do you have any idea??? > many thanks for your Help > > Regards > Johannes _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
Peter Klein schrieb:
> Hi Aji. Take a look at this: > http://www.typo3wizard.com/en/snippe...formation.html > Hii Peter, Many many Thanks dear for your help. it is working and you make my day. this is my Typoscript, may be somebody else need it oneday: ### TS Caption: ATTRIBUTE <p style=""> <TypoScript> <![CDATA[ 10 = TEXT 10.data = TSFE:lastImageInfo|0 10.wrap = width:|px; ]]> </TypoScript> Regards + Viele Grüße Johannes _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Gifbuilder Image Width | Moritz Mark | typo3-german@lists.netfielders.de | 0 | 31.05.2007 19:33 |
| [TYPO3] Max image width in RTE | Tapio Markula | typo3-english@lists.netfielders.de | 0 | 10.04.2007 16:30 |
| [TYPO3] getting width of new gifbuilder image for wrap? | R. Germershausen | typo3-english@lists.netfielders.de | 4 | 12.03.2007 18:08 |
| [TYPO3] image width/height not working. | Asbjørn Morell | typo3-english@lists.netfielders.de | 6 | 17.01.2007 12:05 |
| Re: [TYPO3] image width/height not working. | Christopher Torgalson | typo3-english@lists.netfielders.de | 3 | 16.01.2007 22:01 |