Added options for transforming photo during upload