Arun,

The preview uses a different URL path, and if the background image is using a 
relative path it will fail to load. Try using a full path including the FQDN to 
the image-src.


Darren Satkunas
Software Engineer Senior Lead

[signature_3371045375]


Office: +1.617.444.1234
Cell: +1.617.444.1234

Akamai Technologies
145 Broadway
Cambridge, MA 02142


Connect with Us:

[signature_2126220668]<https://community.akamai.com/> [signature_2699496788] 
<http://blogs.akamai.com/>  [signature_3488773085] <https://twitter.com/akamai> 
 [signature_1889522509] <http://www.facebook.com/AkamaiTechnologies>  
[signature_3856813662] <http://www.linkedin.com/company/akamai-technologies>  
[signature_2667012721] 
<http://www.youtube.com/user/akamaitechnologies?feature=results_main>



From: Arun Kangle <akan...@gmail.com>
Date: Thursday, September 26, 2024 at 1:14 AM
To: "Satkunas, Darren" <dsatk...@akamai.com>
Cc: "packetfence-users@lists.sourceforge.net" 
<packetfence-users@lists.sourceforge.net>
Subject: Re: [PacketFence-users] Adding logo and background image to the portal

Thank you so much Darren. This works perfectly when i see preview of the 
layout. html but when i see preview of the portal (by clicking "preview" button 
at the top) i still see the original layout without my background image. Is 
there
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender

This message came from outside your organization.



ZjQcmQRYFpfptBannerEnd
Thank you so much Darren. This works perfectly when i see preview of the 
layout.html but when i see preview of the portal (by clicking "preview" button 
at the top) i still see the original layout without my background image. Is 
there any other file i should edit?

On Wed, Sep 18, 2024 at 7:53 PM Satkunas, Darren 
<dsatk...@akamai.com<mailto:dsatk...@akamai.com>> wrote:
In the connection profile edit layout.html with the following 2 changes:
Line 14, replace <body> with - adjust the path in url() to the image you want 
to use
<body style="background-color: transparent; background-image: 
url(/portal_preview/profile-templates/default/logo.png); background-repeat: 
repeat; background-attachment: fixed; background-position: center;">

Line 21, replace <header> with
<header style="background-color: transparent;">


Darren Satkunas
Software Engineer Senior Lead

[signature_91702086]


Office: +1.617.444.1234
Cell: +1.617.444.1234

Akamai Technologies
145 Broadway
Cambridge, MA 02142


Connect with Us:

[signature_117365058]<https://community.akamai.com/> [signature_1004417448] 
<http://blogs.akamai.com/>  [signature_3192415103] 
<https://urldefense.com/v3/__https:/twitter.com/akamai__;!!GjvTz_vk!RQbqDTVAFdskjYmySc7k2N4tn6dwYBrcy9z0sA2-ySBmDOlu_MQFWPDlK07CCPl1_YTp08Zy6aNzPg$>
  [signature_2883625797] 
<https://urldefense.com/v3/__http:/www.facebook.com/AkamaiTechnologies__;!!GjvTz_vk!RQbqDTVAFdskjYmySc7k2N4tn6dwYBrcy9z0sA2-ySBmDOlu_MQFWPDlK07CCPl1_YTp08aBvy_CSQ$>
  [signature_3378242615] 
<https://urldefense.com/v3/__http:/www.linkedin.com/company/akamai-technologies__;!!GjvTz_vk!RQbqDTVAFdskjYmySc7k2N4tn6dwYBrcy9z0sA2-ySBmDOlu_MQFWPDlK07CCPl1_YTp08bcwG-chQ$>
  [signature_274248214] 
<https://urldefense.com/v3/__http:/www.youtube.com/user/akamaitechnologies?feature=results_main__;!!GjvTz_vk!RQbqDTVAFdskjYmySc7k2N4tn6dwYBrcy9z0sA2-ySBmDOlu_MQFWPDlK07CCPl1_YTp08bxJKc2hw$>



From: Arun Kangle via PacketFence-users 
<packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>>
Reply-To: 
"packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>"
 
<packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>>
Date: Friday, September 13, 2024 at 12:10 PM
To: 
"packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>"
 
<packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>>
Cc: Arun Kangle <akan...@gmail.com<mailto:akan...@gmail.com>>
Subject: [PacketFence-users] Adding logo and background image to the portal

Hello All, Could anyone please point me to a quick way to add the background 
image and a logo to the captive portal? Many thanks in advance, - Arun ‍ ‍ ‍ ‍ 
‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ 
‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ 
‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender

This message came from outside your organization.



ZjQcmQRYFpfptBannerEnd
Hello All,
Could anyone please point me to a quick way to add the background image and a 
logo to the captive portal?

Many thanks in advance,
- Arun
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to