function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
acrozieracrozier 

importing images and exporting word doc

I am loading an image using <img src> in a visualforce page that exports to a word doc.  The image loads fine, but when I go to save the document locally and send it to another person, it still has to download that image from the web.  Is there any way to make the local word doc save the images into the document?  I am asking this because it seems like Office 2007 will not download the images and I can't rely on a solution that only works for Office 2010.  Just to be clear I tried loading the image as a static resource, but the word doc would not recognize it.  Which is why i tried an img src tag.

Ankit AroraAnkit Arora

I think each time when you open the word doc it will download the images as word doc contains the image URL(Public) and not the actual image.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page