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

Fortiauthenticator 6.0 Replacement messages

Hi,

 

I try to modify replacement messages in Saml idp. Problem is custom images. When I load them to system, it does not show path where they go. So it´s hard to add them to custom html code also. 

 

I tried to find this in admin guide, but there is no help either. 

1 REPLY 1
xsilver_FTNT
Staff
Staff

Hi,

 

text chosen during image import and later on displayed in column "Name" is then made into system variable {{:image/<Name>:}}.

 

For example import your image. Name it "YourTestImage" and navigate to GUI/Guest Portals/Replacement Messages/Authentication/Guest Portal Social Network Page. There are login icon images from Manage Images page. And so for test change :

#google_btn { background: url("{{:image/social_google}}")

 

.. to your image and observe immediate preview on left hand pane.

#google_btn { background: url("{{:image/YourTestImage}}")

 

 

So build your own style token and use this:

   <style>

#YourTestImageID { background: url("{{:image/YourTestImage}}") no-repeat scroll center center #FFFFFF; border: none; height: 400px; width: 650px; }

</style>

<table id="main_table"> <tr> <td colspan=3><div id="YourTestImageID"> &nbsp;</div></td> </tr>

 

 

Or use it directly as image source url:

<td colspan=3><img src="{{:image/YourTestImage}}"></td>

Tomas Stribrny - NASDAQ:FTNT - Fortinet Inc. - TAC Staff Engineer
AAA, MFA, VoIP and other Fortinet stuff

Labels
Top Kudoed Authors