<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to insert jpeg images from CMS into JSF?</title><link>https://answers.axonivy.com/questions/2685/how-to-insert-jpeg-images-from-cms-into-jsf</link><description>&lt;p&gt;Jpeg images from CMS are not displayed on jsf dialogs when using IE (Internet Explorer 11 and AxonIvy6.6). 
e.g  &amp;lt;h:graphicimage name="/images/Sonne" library="ivy-cms" width="300"/&amp;gt; &lt;/p&gt;
&lt;p&gt;This is not a problem with png images from cms, not if the jpeg images come from the webcontent folder and also not if other browsers like Firefox or Chrome are used.&lt;/p&gt;
&lt;p&gt;Any recommendations?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2685/how-to-insert-jpeg-images-from-cms-into-jsf" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 08 Jun 2017 08:48:39 -0400</lastBuildDate><item><title>Answer by Bruno Bütler</title><link>https://answers.axonivy.com/questions/2685/how-to-insert-jpeg-images-from-cms-into-jsf/2686</link><description>&lt;p&gt;The reason for that is a new Http Header Setting that is now set to true by default in the tomcat WEB-INF/web.xml file in the designer and in the engine.&lt;br&gt;
So if you want to be compatible with older ivy versions you can switch of this additional header setting:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    &amp;lt;init-param&amp;gt;
        &amp;lt;param-name&amp;gt;blockContentTypeSniffingEnabled&amp;lt;/param-name&amp;gt;
        &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;
    &amp;lt;/init-param&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno Bütler</dc:creator><pubDate>Thu, 08 Jun 2017 08:48:39 -0400</pubDate><guid>https://answers.axonivy.com/questions/2685/how-to-insert-jpeg-images-from-cms-into-jsf/2686</guid></item></channel></rss>