Image API to crop images and image storing on DB.