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
pkirankumar reddypkirankumar reddy 

how to display image in word document while rendering vf page as word document


Hi all there is a requirment to genrate a word document by using visualforce page. but my page contain images while geting page to word document images are not displaying . if anybody  knows solution please provide .

Thanks,
Kiran
sfdcMonkey.comsfdcMonkey.com
hi Kiran
go to below link for same issue
https://developer.salesforce.com/forums/?id=906F000000096NMIAY
Thanks
let me inform if it helps you
Tejas KardileTejas Kardile
Hi,

Below is sample code which render image in excel, you need to provide path in src.

<apex:page contentType="application/vnd.ms-excel#SalesForceExport.xls" cache="true">
    <table>
        <tr>
             <td>
                <img src="http://images.google.com/intl/en_ALL/images/logos/images_logo_lg.gif"/>
            </td>
        </tr>
    </table>
</apex:page>


Thanks,
Tejas