Attributes and centering form

added attributes to images, and centered form