[Typo3] Getting name of the imported file in the IMAGE object

Dmitry Dulepov typo3 at fm-world.ru
Wed Dec 21 12:25:17 CET 2005


I have the following TS (it is in TemplaVoila DS if it matters):
	10 = IMAGE
	10.file.import = uploads/tx_templavoila/
	10.file.import.current = 1
	10.file.import.listNum = 0
	10.file.maxW = 66

It produces something like:
<img src="typo3temp/temp_12345.jpg" width="40" height="50" alt="" />

What I need is:
src="typo3temp/temp_12345.jpg" width="40" height="50" alt="" /></a>

Here "uploads/templavoila/orifiginal_file_01.jpg" is the file that IMAGE
object processes. "10.file" is empty, I tried it. Various imageLinkWrap
properties allowed me to get original file name in a link to
showpic.php. But I need to supply my own url. imageLinkWrap allows this
but it does not pass file name to this url.

So I am stuck. Does anyone know the solution?


More information about the TYPO3-english mailing list