Add attributes "width" and "class" to the img tag