Added auto Crop and resize for images added