Add upload image and html logic in CMS