I develop a visualforce page which generate a word document.

Unfortunately, the image in the word document is not displayed whereas it's ok in PDF and in visualforce page.

The document has the Externally Available Image "Externally Available Image" checked and I use that URL:


This is my code:

<apex:page standardController="Contract" extensions="VFC01_GenerateConsiderations" contentType="application/msword#filename.doc" showHeader="false" applyHtmlTag="false" applyBodyTag="false">

<html xmlns:w="urn:schemas-microsoft-com:office:word">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <apex:image url="https://c.cs***.content.force.com/servlet/servlet.ImageServer?id=***&oid=***" />


What is wrong please?


1 Answer 1


The response is I have to display an image with HTTP and not HTTPS.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .