[Typo3] Getting name of the imported file in the IMAGE object
Tyler Kraft
headhunterxiii at yahoo.ca
Wed Dec 21 13:02:28 CET 2005
I think someone else was trying to do a very similar thing and needed
the image name only in the lat 10 days on the list. have a look
hth
Dmitry Dulepov wrote:
> Hi!
>
> 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:
> <a
> href="javascript:alert('uploads/templavoila/orifiginal_file_01.jpg')"><img
> 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?
>
> Dmitry.
More information about the TYPO3-english
mailing list