Programmatically prevent Firefox from automatically resizing images
By default in Firefox every time you open an image it will resize to fit the browser window, now if you view a lot of images it can be annoying to have to click on the image every time it loads to see its full size.
There is a way to turn this off roughly: config, but this is not a solution for the wider public.
Is there some way to turn this off with some JavaScript or CSS or whatever?
a source to share
If you would like to disable the automatic resizing of images in your browser, you can
- type
about:config
- property search
browser.enable_automatic_image_resizing
- and set it to
false
If you want it for your visitors, I can just repeat what Jeremy Sediq writes in Design Design Web Sites.
it's just their network, built on it.
And in that case, you really don't have to decide whether users want to use Firefox's auto-resize feature or not. You can always choose a solution that gives users more user experience. For example, you can set the Lightbox variant as already mentioned by Daniel A. White .
There is also a great_llama solution to open images inside an HTML page.
a source to share
I don't think it is possible to change this behavior anyway, at least using javascript or css.
Why not use a jQuery lightbox? http://leandrovieira.com/projects/jquery/lightbox/
a source to share