gif images are not resize after upload