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
salesforce@14salesforce@14 

How to get the image from static resource using VF page and display the image in word.

Thanks.
sandeep sankhlasandeep sankhla
Hi Sai,

please refer the below link 

http://www.salesforce.com/docs/developer/pages/Content/pages_resources_reference.htm

P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.

Thanks,
Sandeep
Salesforce Certified Developer 
padmapadma
 Hi sai,
 If you  alredy upload a image in the static resources.
flow->setup=>develop=>static resources
And then in visual force page you call like this
<apex:image url="{!$Resource.staticresourcename}" width="150" height="50"/>

if my answer helps to solve your problem.
Thanks,

 
salesforce@14salesforce@14

Hi Padma,

Thanks for ur support.

This is working only for pdf but not for word. can you tell me some other way.
<apex:image url="{!$Resource.staticresourcename}" width="150" height="50"/>
padmapadma
hi sai ,
if you tried this one also in page.
contentType="application/msword" cache="true"
Thanks,
 
salesforce@14salesforce@14
yes i tried like below

contentType="application/ms-word;charset=Windows-1252#test.doc" extensions="test" cache="true"