Added url to profile, changed try except to hasattr, took unneeded tag out of image.html