fixed media and static files urls, as well as updated the photos template to link to the correct url