add image manager and drag&drop image upload functions