Proper image optimization: how to do it and why is it necess