I need to be able to render html views (nothing new there) and to provide the same views as PDF file to the final user. The first case works perfectly on my side : I managed to ren
Solution 1:
all you have to do is use full path of image while render on pdf
controller
var variables = {
path: sails.config.appPath + 'assets/images/ymca.jpg'
};
Post a Comment for "Sails Ejs-view After Html-pdf Usage Does Not Render Image"