Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Tutek_OLD
New Contributor

Fortigate Replacement Messages do not have images

Hi,

on my computers when Fortigate deny access on webpage and display message, this message have only text. When I see the same message on Fortigate configuration, I see that this message have also images and background. How could I fix this?

6 REPLIES 6
Tutek_OLD
New Contributor

what I found, images on replacement messages do not appear when using chrome and microsoft edge, when use Firefox then replacement message is shown correctly. 

Here is how look replacement message, on chrome and edge:

Donaire
New Contributor III

Tutek wrote:

what I found, images on replacement messages do not appear when using chrome and microsoft edge, when use Firefox then replacement message is shown correctly. 

Here is how look replacement message, on chrome and edge:

Hey, 

 

The replacement messages are in HTML, 

You may need to update your browser What is the version of you fortigate ?

Networkadmins
New Contributor

Hi, we have same problem here. Uploading correct size and type of logo but not showing up when blocked page info appears. I can see image/logo in edit mode on GUI. 

Any suggestions are welcome.

Cabl3s
New Contributor

Hi folks, I had the same problem with the pictures (on Edge and Chrome). I saw this already and also use our CA etc... But id did not help.

But I found also another way which maybe help others.

 

I've simply converted our logo.png file to Base64 code. You can use e.g. the online converter:

https://www.base64-image.de/

 

And then, add it to the HTML body of your replacement pages.

For sure change the image size (width and height) and put your encoded picture code into the example link.

 

 

<img width="500" height="150" alt="logo" src="data&colon;image/png;base64,HEREisTHEencodedPicture>

 

 

With that change, I can see the picture on all current browser's without any problems.

 

Hope this helps other Fortigater's :)

Cheers Cabl3s

 

 

 

joseppo
New Contributor

hi,

could you be more precise where did you paste the code and what did you change?

Thx

This is my config:

}
.logo {
background: url(%%IMAGE:logo%%) no-repeat center;
height: 267px;
object-fit: contain;
}

Stryill
New Contributor

If your Fortigate block messages only show text and no images on your computers, but the configuration shows images and a background, try these steps to fix it:

  1. Clear Browser Cache: Sometimes, old cache data can cause display issues.
  2. Check Network Settings: Ensure that your network settings allow the loading of images from the Fortigate.
  3. Update Firmware: Make sure your Fortigate firmware is up to date.
  4. Configure Web Filter: Ensure that the web filter settings include all necessary components for the block message.
  5. Security Profile: Verify that the security profile applied to the policy includes the correct block message settings.

By following these steps, your block messages should display with images and background as configured.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors