add image-dd component code