Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    CP images not showing up

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 4 Posters 5.5k 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.
    • dotdashD
      dotdash
      last edited by

      It's my first time using the CP, so perhaps I'm doing it wrong. Here's what I did:
      1)I made an index page with a ref to captiveportal-logo.jpg, uploaded it via the 'portal page contents' button.
      2) Went to 'file manager' tab, uploaded logo.jpg off the workstation. It then shows up in the list as captiveportal-logo.jpg
      3) Open up CP from a test box- red X for image. Checked from shell: /var/db/cpelements/captiveportal.jpg is there. /usr/local/captiveportal/ has only the default index.php, and two .inc files.
      4) If I copy the jpg from /var/db/cpelements to /usr/local/captiveportal, then the image shows up on the index page. But this seems like an ugly hack.
      Using 1.2beta1

      1 Reply Last reply
      Reply Quote 0
      • J
        JorgeAldoBR
        last edited by

        Not enought info (at least for me)…

        Can you provide more info about your setup ?

        1 Reply Last reply
        Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          It's a simple setup- Static WAN, CP on LAN. No auth, just a terms of service page with an 'I Agree' button.
          Shouldn't the symlink in /usr/local/captiveportal be created automatically when upload from the file manager tab?

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

            Images must have the word "captiveportal" in them.

            1 Reply Last reply
            Reply Quote 0
            • J
              JorgeAldoBR
              last edited by

              1)I made an index page with a ref to captiveportal-logo.jpg,

              looks like he did it already… thats what got me confused...

              1 Reply Last reply
              Reply Quote 0
              • dotdashD
                dotdash
                last edited by

                The original file was just called "logo.jpg", when I uploaded it, it showed up as "captiveportal-logo.jpg".
                I'll have to try again, I thought that when I started with a file called "captiveportal-logo.jpg" It became "captiveportal-captiveportal-logo.jpg" after uploading.
                Re-reading my original post, I see that I mis-typed. I should have said that /var/db/cpelements/captiveportal-logo.jpg showed up from the shell, but there was no symlink in /usr/local/captiveportal/ to captiveportal-logo.jpg.

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

                  I have that issue to, seems like a widespread issue for the Beta release for 1.2-BETA-1.  But after copying those files works great :).  Thanks.

                  1 Reply Last reply
                  Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                  Privacy Policy · Cookie Policy