I would like to get the URL from an image to display in a page that is going to be rendered as .doc. My problem is that while PDF is easy to render, just setting the
renderAs attribute on the page, Word documents are a little bit trickier.
In my document, I need to display several images and attach to it so the user can download. I already achieved the part of generating a document and downloading it, but when I open the document with an image, the image displayed is broken and has the name of the file's URL, like this:
I know that this works when using a link that contains the file's extension (adding an image from Imgur, for example, works). Is there a way to get a similar URL from Salesforce?