I have my HTML in a compose action and i am able to convert it to an HTML file, this HTML file shows the image
However, while trying to convert the HTML file to JPG the image does not show instead the there is white(blank) image with a red x mark on top left corner.
What am i missing here ? - This is what i have in my flow
Any suggestions
Thank you,
Solved! Go to Solution.
Hi @Jean_9681,
In that case you can use a get file content using path action instead.
Also update the expression to this:
concat('data:', body('Get_file_content_using_path')?['$content-type'] ,';base64,',body('Get_file_content_using_path')?['$content'])
Hi @Jean_9681,
What is in your compose action? Is the img src pointing to a hyperlink or are you pointing to a base64 value?
If you are pointing to a public image you could try the approach below.
In this example I used the screenshot from your opening post btw 😁
concat('data:', body('HTTP')?['$content-type'] ,';base64,',body('HTTP')?['$content'])
@Expiscornovus thanks for the taking the time to help me with this, In my case I am getting an image from SharePoint library..
My Compose action has <img src pointing to "Link to Item">
Since HTTP action is a PREMIUM I am not allowed to use this action 😞
Will Send an HTTP request to SharePoint work - since i am getting the image from SharePoint
Hi @Jean_9681,
In that case you can use a get file content using path action instead.
Also update the expression to this:
concat('data:', body('Get_file_content_using_path')?['$content-type'] ,';base64,',body('Get_file_content_using_path')?['$content'])
User | Count |
---|---|
27 | |
16 | |
15 | |
12 | |
10 |
User | Count |
---|---|
43 | |
29 | |
27 | |
24 | |
23 |