[TYPO3-english] How to output the absolute path to tt_news image?

Morten Kjems mortenkjems at gmail.com
Sat Aug 27 17:27:59 CEST 2011


Hi.

I need to output the absolute path to the tt_news image.

I am using the plugin 'Generic Markers' to do this.

Here is my setup so far.


plugin.tt_news.genericmarkers {
data = image
### path to tt_news image
startimage = TEXT
startimage {
field = generic_image
wrap = {$baseURL}fileadmin/|
}
}

This will output:
http://domain.com/fileadmin/myimage.png

But what I need is:
http://domain.com/fileadmin/subfolder/myimage.png

I cant include the subfolder in in the wrap since the images are stored 
in different folders.

Does anyone know how include the correct subfolder?

All suggestions are most welcome.



More information about the TYPO3-english mailing list