added ui for image attachment