Made changes for photos to work on server