Skip to main content
amathl
New Member
April 1, 2019
Question

Fortiauthenticator 6.0 Replacement messages

  • April 1, 2019
  • 1 reply
  • 2021 views

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

    xsilver_FTNT
    Staff
    Staff
    April 2, 2019

    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>