made changes for multiple photo upload and carousel