Add classes field to image