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

    images from file manager not showing

    Scheduled Pinned Locked Moved Captive Portal
    12 Posts 3 Posters 1.3k 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.
    • E
      exofio @Gertjan
      last edited by

      @Gertjan here
      sss.PNG sd.PNG

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        The html code please.

        This is what is in my file manager :

        1d306c3e-7563-452d-8769-648dd22cc31e-image.png

        ( check out carefully the file names )

        This is my html code : see here https://forum.netgate.com/topic/146219/captive-portal-configuration-willing-to-hire-someone/6

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • E
          exofio
          last edited by

          the html code is posted check 2nd image

          1 Reply Last reply Reply Quote 0
          • E
            exofio
            last edited by

            e57f348b-4be0-40ae-9530-8dde49a250a4-image.png

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              Saw your - what looks like html code, but didn't recognise it.

              You can publish it somewhat better on, for example, pastebin.org - there is nothing private in that file. Right know, it's close to unreadable, the chat box is for chats, not code.

              Maybe I'm missing something but you should take a look at https://www.w3schools.com/html/html_basic.asp

              Example : where is the image included - it doesn't show up in your html code.
              Example : your captive portal html page uses a classe called "col-sm-10" : can't find it in your html code neither.

              The image you uploaded is called "sLogo.png" with a capital L in it.
              Is that file listed in the pfSense captive portal File Manager ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • E
                exofio
                last edited by

                thanks anyway. as far as i know, you had a problem with images too before. I hope you are kind enough to help but if you just want to show that you are better than anyone else. please leave my thread alone.

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @exofio
                  last edited by

                  @exofio said in images from file manager not showing:

                  as far as i know, you had a problem with images too before

                  When ?
                  What do you mean ?

                  @exofio said in images from file manager not showing:

                  you just want to show that you are better than anyone else

                  What ?
                  Why ?

                  Can we get back to the original goal of a forum : someone asks help, others ask questions to detail the problem so answers and proposals can be given.
                  Just answer the question even if you don't understand them. This is not a school.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • E
                    exofio
                    last edited by

                    I uploaded images at file manager and called them on html file. it aint working

                    1 Reply Last reply Reply Quote 0
                    • kiokomanK
                      kiokoman LAYER 8
                      last edited by kiokoman

                      of course not there is a specific section on the Captive portal to load images,

                      Immagine.jpg

                      this is what i have on my html

                      <img src="http://192.168.40.254:8002/captiveportal-logo.jpg" alt="http://192.168.40.254:8002/captiveportal-logo.jpg" class="shrinkToFit" width="306" height="544">
                      

                      the right location for the logo is /usr/local/captiveportal/

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @kiokoman
                        last edited by

                        @kiokoman said in images from file manager not showing:

                        of course not there is a specific section on the Captive portal to load images,

                        Right.
                        It's here :

                        19678267-ca36-41e5-8f58-f2bd9b96c538-image.png

                        Check out this :

                        d55e67a6-8f49-4909-a7ec-a669a89cb0fc-image.png

                        Got it ? You see the first "check" : "Use custom captive portal page
                        Enable to use a custom captive portal login page" ?

                        It's not clear if @exofio is using the default, build in login page - which has an optional replaceable background and logo image, or if he is using a self-made login 'html' page.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

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