Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Opening an image without downloading it

  • 4 отговора
  • 1 има този проблем
  • 266 изгледи
  • Последен отговор от cor-el

more options

Hello, Frequently when I left click a hyperlink to an image, Firefox will ask me where I would like it downloaded. However, my purpose for clicking that link was to simply open the image in a new tab. When I went to find the default option for opening an image, I was not given the choice to "preview in browser" (a choice you get for opening .pdf files, among other things). What am I doing wrong? I do not want to download image URLs that I click.

I found an extension that allows me to do this, but I cannot set the extension's behavior as the default. Essentially, whenever I have to open an image, I have to left click it then select the option to open it in a new tab. This is pretty unwieldy and awkward behavior, and I would really appreciate a work-around.

I have already ran Firefox in safe mode, but with no success.

Thank you for your time.

Hello, Frequently when I left click a hyperlink to an image, Firefox will ask me where I would like it downloaded. However, my purpose for clicking that link was to simply open the image in a new tab. When I went to find the default option for opening an image, I was not given the choice to "preview in browser" (a choice you get for opening .pdf files, among other things). What am I doing wrong? I do not want to download image URLs that I click. I found an extension that allows me to do this, but I cannot set the extension's behavior as the default. Essentially, whenever I have to open an image, I have to left click it then select the option to open it in a new tab. This is pretty unwieldy and awkward behavior, and I would really appreciate a work-around. I have already ran Firefox in safe mode, but with no success. Thank you for your time.

Избрано решение

This is usually caused by the way the server sends the file. If the server sends the file as a recognized image type then Firefox will show the image in a tab. If the server sends the file a a generic content type or in another way that makes Firefox presenting an open with dialog then your only option is to use the "Open in Browser" extension or possibly a special bookmarklet.

You can use the Live Http Headers extension or possibly the Network monitor to check the HTTP response headers.

Прочетете този отговор в контекста 👍 0

Всички отговори (4)

more options

hi silentbutkrazy, does the following addon help you achieve the behaviour you'd like to see? https://addons.mozilla.org/en-us/firefox/addon/inlinedisposition/

more options

Thank you for your reply, philipp. However, that does not help.

more options

can you provide a sample url where this is happening?

more options

Избрано решение

This is usually caused by the way the server sends the file. If the server sends the file as a recognized image type then Firefox will show the image in a tab. If the server sends the file a a generic content type or in another way that makes Firefox presenting an open with dialog then your only option is to use the "Open in Browser" extension or possibly a special bookmarklet.

You can use the Live Http Headers extension or possibly the Network monitor to check the HTTP response headers.