[TYPO3-templavoila] Flexible Content Element: BE user changes BG image

Daniela Waranie news_001 at washammwa.de
Tue Mar 6 14:51:35 CET 2007

Hi Dmitry,

i´m on the right way. Thanks for your great help!
But the image path is not fix. The backend user can upload own images to 
self created folders.

How do i get the foldername of the selected image?

Best Regards

Just for your interest:
I need to define the TO/DS with a
- field_imageurl of mapping type 'attribute' and editing type 'TypoScript 
Object Path'
- field_bgimage of mapping type 'unmapped' and editing type 'image'

My TypoScript looks like this:
lib.imageurl = COA
lib.imageurl {
   100 = TEXT
   100.field = field_bgimage
   100.wrap = background-image:url(|)

"Dmitry Dulepov" <9f4eetb02 at sneakemail.com> schrieb im Newsbeitrag 
news:mailman.1.1173181774.21451.typo3-project-templavoila at lists.netfielders.de...
> Daniela Waranie wrote:
>> the following won?t work:
>> 100 = TEXT
>> 100.value = background-image:url({field:field_backgroundimage});
>> this also won?t work:
>> 100 = TEXT
>> 100.field = field_backgroundimage
>> 100.wrap = background-image:url(|);
>> What is the problem?
> The first one uses "value" for wrap, which is incorrect. The second one 
> should work but will not produce correct path to image. Try:
> 100.wrap = background-image:url(/uploads/tx_templavoila/|)
> -- 
> Dmitry Dulepov
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.) 

More information about the TYPO3-project-templavoila mailing list