![how to reduce page size in firefox with add-on how to reduce page size in firefox with add-on](https://www.lifewire.com/thmb/UAOSIAbVCCR8Gba2wng68Wfsd-Y=/1440x900/filters:fill(auto,1)/ff-theme-feat-8ad8f48549a44b0dae766160d7716459.jpg)
Resizing with Photoshop works but its slow If this is an ecommerce site, then suddenly your site is going to slow down way more than necessary and your users, especially on mobile, are going to go somewhere else. The problem here is that while this CSS hack will display the image at 200×150, the user will still be downloading the entire 800×600 image. Just a bit of playing background properties and you’re done. Take this example from Stack Overflow of someone trying to use CSS to display an 800×600 image resized and cropped to 200×100. “Resizing” with CSS is easy, but page load suffersįor CSS, the advantage is it’s easy. Like anything, these different solutions have pros and cons.
![how to reduce page size in firefox with add-on how to reduce page size in firefox with add-on](https://addons.mozilla.org/user-media/previews/full/176/176830.png)
Typically, to resize, fit and align images you can use something simple like CSS to display the part of the image you want, Photoshop to manually crop or something complicated like Graphicsmagick or Imagemagick to automate transformation. This post is for you! Can’t I use CSS… Or Photoshop… Or Graphicsmagick… instead? To do that you need to resize, align, clip, crop, scale or otherwise fit your image to a particular dimension. You may need to optimize the layout of a website or application, reduce the size of your images to increase page performance or even just get the alignment of that reaction meme you’re playing around with just right before Slacking it to a colleague. Resizing images like PNGs, JPGs or GIFs is one of the most common things we have to do as developers.