altered locations controller create action for multi photo uploads.