corrected typo in image preview generation, improved readability of image insert tag