Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Could not link up file in file manager with customized captive portal page

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 3 Posters 3.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pvt_harv
      last edited by

      Hi there,

      i am setting up pfSense for our wireless hotspot in the local government unit. everything works including the captive portal feature (with preconfigured captive portal page) so i decided to create a custom captive portal page. it worked fine and users can actually log in to the page. i want to put a logo in the page so i uploaded up an image 4KB in size using the upload manager and i added a tag in my portal page:

      
       [![City WiFi](captiveportal-city-logo.gif)](some url) 
      
      

      but i cannot make the image to be displayed in page. i've checked the file in the file manager and it's there. all i can see in the page is a blue (for the link) placeholder with the alt text. i am out of office now so i cannot paste the entire code but i will as soon as i get to it.

      is there something that i missed?

      1 Reply Last reply Reply Quote 0
      • P
        pvt_harv
        last edited by

        Here's the entire code:

        
        		<title>City WiFi Zone</title>
        
        			[![City WiFi Zone](captiveportal-city-wifi-no-bg.gif "City WiFi Zone")](http://www.surigaocity.gov.ph)
        
        <form method="post" action="http://192.168.1.1:8000/">
        
        						 **Please enter your authentication details below:** |										
        						 Username: |						  |										
        						 Password: |						  |										
        						   |						 							
        
        						 |														
        
        				</form>
        
        					For information, please contact
        Management Information Team of the City Government
        
        					c/o Management Infornation Systems Division
        City Planning and Development Office
        
        					Philippines
        
        

        And here's the pfsense screenshot of the File Manager

        pfsense-screenshot.gif
        pfsense-screenshot.gif_thumb

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          I had te same problem, The image (uploaded) files are not lacated in the same directory as the CP page, so you must put the path for the image file, look for in this forum for the location of files.

          1 Reply Last reply Reply Quote 0
          • S
            sami
            last edited by

            I have the exact same problem.

            The uploaded image turn up in /var/db/cpelements and the cp index it self is in /usr/local/captiveportal but still it does not symlink between
            Since i run a discless install i can't symlink them my self, or copy for that matter.
            Can't find which script that does the uploading.

            Is there any workaround for this for i cd-rom booter.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.