Alright, so I just found out about this Lightbox thing, and it looks pretty sweet. However the ZP-Lightbox theme created by Chilifrei64 was version one, so I wanted to update it to version two, which was actually very easy. The problem now is that the user cannot drag the photo to his/her desktop as in the prior version.
I would like to overcome this by adding a button, similar to the 'close link', that would allow the user to download the current photo. How would I go about doing this? How can I add the link (created by a ZenPhoto PHP function) to the image within a js file?
Anyone help would be appreciated
Thanks,
Amory
Comments
`<?php echo getFullImageURL();?>`
Question still remains to anyone else, how can I use the getFullImageURL php function within a js file?
Thanks,
Amory
http://www.zenphoto.org/support/topic.php?id=232
code removed.. .. check out link here
http://beta.chilifrei.net/zenphoto2/link.txt
sorry.. i couldnt get the code to show right.. upon posting.. it was converting html entity equivalents into their original form therefore not displaying what I needed it to.
this will display the title as a link in the lightbox..
HOWEVER.. as I am typing this up I did also notice that when you hover over it it displays the link in the hoverover caption dialog..
but atleast this gives you the link.. I will look into it more tomorrow.. maybe come up with something.
Right now you can see it at http://beta.chilifrei.net/zenphoto2
incase you wanted to take a look
Amory
Is there an easy way to make the image downloadable by rightclick when there is no navigation <- , -> ontop the image?
well if not
could you plz refresh the links to the missing code lines
i really dont know where i need to add
<?php echo getFullImageURL();?>
to get the link working
all best max
How to get the download depends on the theme used which you did not tell.
The function needs to be placed on your theme's image.php. I suggest to read athe theming tutorial.
but i cant find the image.php any clue what im doing wrong?
anyway gonna check out some theming tutorials thx