Problem: When designing the website I sometimes used width: xxx; on images. That way I was able to adjust the images. However, that creates overhead in size.
Solution: Automatically fetch all images which have a width: propery. Resize them to that :width property keeping the dimensions. Save the file as a .gif on the computer.
Does anyone know a good solution?
You can do it using GD (if you have GD or GD2 enabled on your php instalation)
http://php.net/image
now you can simply call
resizeImage("example.gif",120);