Apply attachmentHabtm also for Image classname