reomve unnecessary imports
added new photo position (auto) and fixed gallery upload under s3