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
SFineSFine 

Image not rendering in a MS-Word document

Hello,

 

I'm trying to get an image to render in a MS-word ContentType VF page and for some reason it won't work properly.

 

Here is the code for the image

 

<img style="font-size:10pt; position:absolute; left:0px; width:200px;" alt="MedAssets Logo" src="https://cs3.salesforce.com/resource/1301083198000/MedAssets_Logo"/>

 

I don't know if the src url there is the 'Complete URL' I've heard about here (http://boards.developerforce.com/t5/Visualforce-Development/Apex-Image-with-Static-Resource-on-MS-Word/m-p/136765) or not and if it's not, I do not know how you get it.

 

Any help would be appreciated.

 

Afzal MohammadAfzal Mohammad

You may want to check of the image is made publicly available? If not, then make it.

 

Hope that helps.

 

Afzal