add image attr field