Free Support Forum - aspose.com

Execute Template feature with scaled images does not provide results

Product: Saaspose.Words
Url: http://saaspose.com/docs/display/words/Execute+Mail+Merge+Template+(PHP+SDK)

<?xml version="1.0" encoding="UTF-8" ?> - hello YOU HI D:\Projects\AppServ\www\csbbdemo\mail_icon.png

{{#foreach Address}} Address: {{Street}} {{Suburb}} {{City}} {{Image:Img}} {{/foreach Address}}

Error details: “Path ‘D:\Projects\AppServ\www\csbbdemo\mail_icon.png’ is incorrect. Only absolute paths are allowed.”

Please reply me ASAP


Submitted from: http://saaspose.com/

Hi,

You cannot use local path; you need to upload the image on Saaspose storage and provide the path. If image uploaded at the root folder, you can use 'mail_icon.png' and if the image is uploaded to a specific folder e.g. 'Folder1' then you can use 'Folder1\mail_icon.png'.

Please follow these guidelines and let us know if you still find any issue.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi,

Did the last suggestion from our support team work for you? Are you good to move forward with Saaspose APIs? If you find any further questions or need assistance, please do let us know. We'll be glad to help you.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.