add img_attachment to gallery image