Fix image size after upload