Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    England, United Kingdom
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Loading images into default viewer rather than browser

    This might be really easy;

    How do I make an image load into the default viewer / app or make them available to download rather than appearing in a browser frame or window?

    Click a link and the filename is in the anchor - I know how to open them in a new window or in a particular frame, but how do I the above?

    Like if you put a filename in an anchor (say .exe) it prompts to Open from Location or Save to Disk.

    How can I make the images do that?

    Regards

    W

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Burlington, VT
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    One way I've seen that done, for background files and such is to zip the image... a zip file will be promted for download. An easier way would be to put instructions right under the image like "right click, choose Save As..." etc etc...

    -Doug
    "The focused mind can pierce through stone."
    - Japanese Maxim

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That is the simplest (and usually the best) solution.

    Otherwise you have to specify the MIME type and other stuff on the server-side, which you may or may not have access to.

    Personally, unless it was for something resembling http://www.download.com or an automatic installation of software, I would use the .zip (or right-click instructions) approach myself.
    Last edited by whammy; 12-09-2002 at 02:46 AM.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #4
    New Coder
    Join Date
    Aug 2002
    Location
    England, United Kingdom
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile So there isn't a way?

    Thanks for taking time out to reply guys.

    I don't have server-side access so that approach would be out.

    It's because I have some large scans (A4) size that cannot be effectively resized, they are 300dpi 2-bit .gif files and are under 150kb per page, but not everyone will use WinZip (or A.N. Other Compression Utility - I know it's hard to believe!) and a SFX archive will set a lot of alarm bells ringing for the cautious!! (Virus threat etc.)

    I will have to consider your options I guess!

    Thanks again

    W

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Most compression utilities can now read all major file types...zip, rar, etc. I wouldn't worry about their end of things and go with zip.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •