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
GennadiyGennadiy 

VisualForce to Excel 2011 for Mac: images not displayed

Hi, colleagues.

I'm trying to create a VF-page which can be opened as an Excel file in Microsoft Excel 2011 for Mac. I didn't meet any problems with Excel 2007, 2010, 2013 which are based on Windows platform, but an image is not displayed on Mac (I can see its border only and an error message inside).
Let me provide simple test code of my VisualForce page:

<apex:page standardStylesheets="false" sidebar="false"  showHeader="false" showChat="false" contentType="application/vnd.ms-excel#Test_ExcelReport.xls">
    <table>
        <tr>
            <td>
                <apex:image url="http://icons.iconarchive.com/icons/benjigarner/softdimension/256/Excel-icon.png"/>
            </td>
            <td>
                <img src="http://images.google.com/intl/en_ALL/images/logos/images_logo_lg.gif"/>
            </td>
        </tr>
    </table>
</apex:page>



Does anybody know how we can correctly insert images in Excel-files so that they are displayed in Microsoft Excel 2011 for Mac?
Ashish_SFDCAshish_SFDC
Hi, 


This has been addressed in the thread, 

https://developer.salesforce.com/forums/ForumsMain?id=906F00000009y8cIAA


Regards,
Ashish