Web component for server-side rendering HTML as images