converting icons to base64 code // #6