Uploading Photos: Save to database and crop features