Click to See Complete Forum and Search --> : Help!


wonderpance
03-03-2003, 02:01 PM
i'm working on an online photo database, and all i need is a script that makes it so that when you click on a thumbnail or link it opens a download dialogue box, or a Save As box instead of the image. i can't find a script for that anywhere, and i don't know java well enough, or have the time, to make one. if anyone has a script like this, or knows where i can find one, i'd really appreciate it. thanks!

Phil Karras
03-03-2003, 03:06 PM
See if this works:

Save the larger image as BiggerImage.zip

Then use:

<A HREF="BiggerImage.zip">

Then tell them to change the name to:
BiggerImage.jpg after they download it so they can view it,.

wonderpance
03-04-2003, 01:50 PM
thanks, Phil. but i don't think that will work because the whole thing is that these people are trying to cut out as much work as possible, which is why they want to be able to click right on the picture or link to download it instead of (heaven forbid) right-clicking on the picture and going to 'Save Image As'. so, adding another step where they have to rename it after they download it probably wouldn't work for them. but i appreciate your help! any other ideas would be great!

Nevermore
03-04-2003, 02:11 PM
What you're really trying to do is change the file download box, then. You would need a signed Java applet. This, incidentally, is a JavaScript forum

Phil Karras
03-04-2003, 02:15 PM
Have you simply told them to "Right-click" on the image? I believe that works once they get the bigger image & perhaps even when done on the thumbnail.

wonderpance
03-04-2003, 02:45 PM
phil,
yea, they know they can right click on the image to save it, but they don't want to have to do that. they want to "download" it. the way the thing is set up now is you go to a page with thumbnails, and then to get the picture you can either click on the thumbnail or a link that opens the full-size picture, and then you can right-click and save it like you would with any other picture online you want to save. but they don't want to have to do that extra step. when they click on the thumbnail or link, they want to be able to save it right then instead of opening the picture first and then saving it. i really hate how something that should be pretty easy always seems so freaking hard to figure out.

wonderpance
03-04-2003, 02:47 PM
thanks, cijori. that was reletively unhelpful. i don't think i'm trying to change the file download box, i'm trying to get the file download box. perhaps you can direct me to a Java Applet forum instead, since i didn't see one listed where i found this one.

Phil Karras
03-04-2003, 03:50 PM
You might ask on the HTML forum since it just might be something like:

<a href='ftp:ImageName.jpg'>[Click Here to download]</a>

Or some such standard HTML tag-line. Sorry I don't know if this is real or not.

wonderpance
03-04-2003, 04:42 PM
thanks phil.
i decided to go ahead and try posting my question on all the other forums until somebody helps me. i'll try what you said though, it just might work!
thanks again!