correct image processing for cloudinary