changed photo upload to return full site resource