implemented image magnification preview and html textarea