Made it so that a maximum width of 500px is imposed on images.