Pages (2): 1 2   
Member
Member
amory   17-04-2006, 17:19
#1

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

Member
Member
amory   17-04-2006, 17:26
#2

FWIW the php function I am refering to is:
``

Member
Member
aitf311   17-04-2006, 19:38
#3

Chili impemented version 2, download here: http://www.chilifrei.net/downloads/Chili-Light_Default.zip

Member
Member
amory   18-04-2006, 01:45
#4

Thanks, I didn't see that annouced anywhere on the board.

Member
Member
amory   18-04-2006, 01:52
#5

Don't know if you tried out the theme, but it is still infact version one (of lightbox) not version two.

Question still remains to anyone else, how can I use the getFullImageURL php function within a js file?

Thanks,
Amory

Member
Member
aitf311   18-04-2006, 02:07
#6

Yea, Ive used it. Read this thread if I linked to thr wrong download.
http://www.zenphoto.org/support/topic.php?id=232

Member
Member
amory   18-04-2006, 02:28
#7

My appologies, I see he has implemented version two. However, my question still stands - how can I get the link to each individual image /server/photo.jpg to appear next to the close button within the javascript lightbox framework? Or rather than making assumptions, can I do this?

Member
Member
Chilifrei64   18-04-2006, 04:52
#8

what you need to do is actually kinda messy, since the navigational overlays on the image take away from being able to drag it to your desktop I resorted to making a link in the image details below it

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

Member
Member
amory   18-04-2006, 20:38
#9

Thanks a lot! That's exactly what I was going for.

Amory

Member
Member
maxK   29-10-2010, 00:35
#10

This is exactly what i am searching for right now .. well not really so this question 1.

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

to get the link working

all best max

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.