Hi there,
I need the file name of the image:
I'm just trying to add an option in "image.php" that shows me the actual file name of the current image. Something like or simply doesn't work. For example: If File name is DSC00001.JPG I want to get that title using a PHP tag. Or even better just the file name without the file extension: "DSC00001".
I need the folder name that the current image contains e.g. "Album1" as an PHP tag.
Is that possible somehow?
My final idea: I want to add a link to the original picture in full size packed as ZIP file. The ZIP file is in the same folder and if I'm just on the DSC00001.JPG "image.php" it adds the link to "Album1/DSC00001.ZIP"
It is probably just like switching off the "hotlink_protection" ... I guess.
Best wishes!
Andy
[i]Sorry I'm not into PHP[/i]
Then you should learn at least the basics before doing custom theme stuff. You will run into more trouble sooner or later.
Of course that does not work....Those variables can't be echoed directly as they are objects. Also you did apparently not read what I wrote.