Fixed bug with images not appearing if not logged in