Forum Moderators: coopster

Message Too Old, No Replies

Allowing img download

need guidance

         

henry0

1:19 pm on May 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I need to find how I could facilitate the downloading of an image.
Displaying, galery etc. is not the problem.

But allowing a download does not seem to be an easy option?
I tried the .htaccess solution (found on WebmasterWorld) but it does not work?
AddType application/gif .gif
AddType application/jpeg .jpeg
AddType application/jpg .jpg

Tried to del cache even doing it from another machine but no result

How may I script something to OK img download.

coopster

2:06 pm on May 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Are you asking how to force an image download?

henry0

2:15 pm on May 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well I do not know if "force" is the correct word.

It will be part of an application where a user will have to select and d-load an icon

coopster

2:20 pm on May 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



That is going to depend on their browser setup. You can try fudging the headers and trying some other forms of browser-trickery but I think your best bet is to just instruct the user to right click and "Save Image" to their personal computer.