moved attributes to css for img tag