There's more...

We don't have an image in the template, but if you want to use an image in the template, you need to be extra careful. The reason is that here, you cannot use an absolute image URL like you normally would. Because the service module is running on a separate server, the popup will not display the image. To fix this issue, you need to pass a full image URL with the domain, as this template is going to be displayed on the client screen. For example, if your service domain is http://localhost:8070, then you need to use an image like the following:

<image src="http://localhost:8070/module_name/static/img/image.png "/>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset