Close delete image dialog and scaling image on upload (not done)
Scaling images (not done)
Close delete images modal