Click to See Complete Forum and Search --> : i need some help please.


wonderpance
03-04-2003, 05:44 PM
i posted this question in the java script forum and was informed that that was the wrong place, so i'm just going to post it in all these forums until someone helps me.

i have an online photo database and i need something that makes it so that when you click on a thumbnail or link to the original image, a file download box comes up instead of the picture opening. if anyone knows a way to do that, i'd appreciate your help. thanks!

PeOfEo
03-04-2003, 05:54 PM
you just want the user to download the picture right? Well try making the link to zipped file first of all because it wont require any aditional scripting.

PeOfEo
03-04-2003, 10:47 PM
Yes but couldnt he be doing this without any additional scripting of any sort by just zipping. I mean its a pain and all but it is also a pain to learn server side scripting for one activity, or b) just post the code that one of use gives out and not have a clue how to edit it if it is not what you want 100%.

PeOfEo
03-04-2003, 10:48 PM
LOL just tell your users to right click and hit save target as!

wonderpance
03-05-2003, 01:25 PM
thanks guys. someone else suggested zipping too, but that won't work because it adds another step for the user, which would defeat the purpose of trying to take away the right-clicking step. plus, i'd have to go through 300 pictures to zip them, and i don't want to do that just because these people are too lazy to right-click.
Dave, although i'm ready to tell them they're just going to have to put up with the right clicking, i would love that ASP code if it will work. i'm not worried about it not being 100% what i need. if it brings up a download or save file box when you click on a link or thumbnail, it's what i need. if you want to email it to me instead of posting it here, my address is cschaffn@uccs.edu
thanks!
courtney

PeOfEo
03-05-2003, 05:54 PM
who is hosting you? I would reccommend you do it with asp.net because its newer and if you actually try and learn this language you wont be using the old technology. But good luck to ya, do you by any chance know visual basic?