Results 1 to 7 of 7

Thread: [RESOLVED] [2005] Firefox - Image - Save as

  1. #1

    Thread Starter
    Hyperactive Member Ms.Longstocking's Avatar
    Join Date
    Oct 2006
    Posts
    399

    Resolved [RESOLVED] [2005] Firefox - Image - Save as

    Using a handler to display image.
    <img alt="" src="Captcha.ashx" />

    In Firefox, when a web page is displayed and right-click performed to save image, this is the filename given:

    Captcha.ashx.jpg

    How do I get it to display "untitled" as demonstrated in Internet Explorer and not the name of the handler?

    -MPippz

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [2005] Firefox - Image - Save as

    <img alt="" src="Captcha.ashx" title="" />

  3. #3

    Thread Starter
    Hyperactive Member Ms.Longstocking's Avatar
    Join Date
    Oct 2006
    Posts
    399

    Re: [2005] Firefox - Image - Save as

    Hi Timeshifter,
    Although I truly do appreciate you sending a response, I'm still very much in the dark about what you're trying to convey to me.

    -MPippz

  4. #4
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [2005] Firefox - Image - Save as

    The title property of an image. It's also what you see when you hover over an image.

  5. #5

    Thread Starter
    Hyperactive Member Ms.Longstocking's Avatar
    Join Date
    Oct 2006
    Posts
    399

    Re: [2005] Firefox - Image - Save as

    No dice.
    The name of the handler page is still being displayed.

    "Captcha.aspx.jpg"

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Firefox - Image - Save as

    You have to do this in your .ashx.

    Response.AddHeader("Content-Disposition", "filename=untitled.jpg");

  7. #7

    Thread Starter
    Hyperactive Member Ms.Longstocking's Avatar
    Join Date
    Oct 2006
    Posts
    399

    Re: [2005] Firefox - Image - Save as

    Hey Mendhak,
    Thanks for the response.
    It's totally frustrating trying to write code that is compliant and compatible with all the browsers out there. Makes my head spin sometimes.

    Thread resolved.

    -MPippz

Posting Permissions

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



Click Here to Expand Forum to Full Width