I want to set a maximum size for pictures when FF shows websites. How can i do that? NO I DONT MEAN "HOW TO ZOOM".
I have FF 34 but this problem has been there for a lot of earlier versions. On many webpages there are pictures that cover my whole screen, and I want to set maximum size for showing images on webpages. I ONLY wanr to change the maximum size of the images, AND IAM NOT asking about how to zoom the webpage.
모든 댓글 (2)
Do you want to hide large images or merely make them smaller by setting a max-width and max-height?
You would probably have to use JavaScript (bookmarklet) to achieve this reliably. There are bookmarklets to make large images fit in the window to avoid a horizontal scroll bar
You can try this code in the userContent.css file (adjust the max-width accordingly).
img { max-width: 1024px !important; height: auto !important; }
The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
- Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
- Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
- Paste the code in the userContent.css file in the editor window
- Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.
Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file
Yes. This worked. Thank you very much. There is just that even if the images is resized, the frameholder/space assigned for the image is still taking up the same space as the original image, but this will have to be better than nothing. Thank you.
UPDATE 18th april 2015. I updated to Firefox v38, and now the images are large again. The above soulution does not work on FF38. Can anyone help me, again?
글쓴이 pissedofflikehell2 수정일시