Home » Questions » Computers [ Ask a new question ]

Why does Firefox display images in the browser sometimes, and only offer to download them other times?

Why does Firefox display images in the browser sometimes, and only offer to download them other times?

What determines, and can it be changed, when for example, in Firefox, you have some image, and you click on View image, and it options for download while sometimes he just displays the image?

Asked by: Guest | Views: 361
Total answers/comments: 1
Guest [Entry]

"Content-Type and/or Content-Disposition headers (sent from the webserver) determine whether Firefox ""dares"" to show a file in-line. You can use firebug or tamperdata extensions to view these headers (or sniff them with wireshark if your source is not https).

You can show files in <img> tags inline even if they use a nonsupported content-type..."