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

    Picture widget is not working

    Scheduled Pinned Locked Moved General pfSense Questions
    15 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.
    • D
      dmytrokoren @johnpoz
      last edited by

      @johnpoz thanks for the prompt reply. I think what I did was changed the widget name, did not select the image file and clicked save. I think that broke it, can you try that sequence with clean install? Thanks lot.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @dmytrokoren
        last edited by

        @dmytrokoren if I do that I end up with this

        save.jpg

        It won't close the widget.. Until it has a file.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        D 1 Reply Last reply Reply Quote 0
        • D
          dmytrokoren @johnpoz
          last edited by

          @johnpoz that is so weird. I'm going to try it again. I have been updating since 2.3.3 till 2.6.0 and I think it might have caused the issue. it seems like it's not the case with clean install 2.6.0.

          This is what I get and the widget title does not change.

          dc0a0333-d9b6-46de-9ff4-e0f61f4884c3-image.png

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @dmytrokoren
            last edited by johnpoz

            @dmytrokoren click the little wrench and change the picture.. What does that do? What theme are you using, I could try changing to that theme

            you sure its not an issue with your browser, it won't load if you click say open image in new tab because not suppose to..

            It opens a new tab but nothings there for me example

            https://192.168.9.148/widgets/widgets/picture.widget.php?getpic=true&widgetkey=picture-0

            What sort of image are you trying to use jpeg, png - I can try that - if you have specific image I could try that.. I just created new widget and works as well

            newwidet.jpg

            Here try this image

            switchoff.jpg

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            D 1 Reply Last reply Reply Quote 0
            • D
              dmytrokoren @johnpoz
              last edited by dmytrokoren

              @johnpoz I tried your image - did not work. So this what happens.

              0b9c40c5-76c7-4ea9-a600-c96525da8c08-2022-05-27_14-56-53 (1).gif

              The theme I used is pfSense-black (I tried switching it to default). I also tried Firefox, Chrome and Safari.

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @dmytrokoren
                last edited by johnpoz

                @dmytrokoren said in Picture widget is not working:

                2022-05-27_14-56-53 (1).gif

                I don't think gifs work - but let me try.. Oh you posted a gif of you trying it..

                Your trying a png - let me try one of those

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                D stephenw10S 2 Replies Last reply Reply Quote 0
                • D
                  dmytrokoren @johnpoz
                  last edited by dmytrokoren

                  @johnpoz I did not try gif (that is to show what steps I did) . I used this one bb6477f4-7b77-4340-b8a7-5bcbb7705096-pfsense-logo.png

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @dmytrokoren
                    last edited by

                    @dmytrokoren works here

                    workshere.jpg

                    I am just unable to duplicate an issue with showing a picture in the widgets.. I have multiple widgets up, same name on the widget, have tried png, your oversized image, etc.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    D 3 Replies Last reply Reply Quote 0
                    • D
                      dmytrokoren @johnpoz
                      last edited by

                      @johnpoz I got it working for the other Picture widgets - but I cannot get it to work again for the picture-0 widget. I even close the widget (turn off from dashboard) and I try to bring it back it gives a broken image).

                      f8f6ac0a-d730-4b4f-8c92-a5c8c4135e29-image.png

                      1 Reply Last reply Reply Quote 0
                      • D
                        dmytrokoren @johnpoz
                        last edited by

                        @johnpoz Thanks for your help. It indeed does work but I just have a small glitch on my end. Will work on it to get it fixed.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator @johnpoz
                          last edited by

                          @johnpoz said in Picture widget is not working:

                          I don't think gifs work

                          Think again!

                          I like to use:
                          toad.gif

                          When the mood hits me. 😉

                          1 Reply Last reply Reply Quote 1
                          • D
                            dmytrokoren @johnpoz
                            last edited by

                            @johnpoz got it to work :)
                            The solution was simple. Need to SSH into system, go to config.xml and delete picture-0 tag and everything inside of those tags (related to picture) and the most important one is to reboot the pfSense (to clear out the config.xml cache).

                            I guess it was a small system glitch on my side. I’m glad I did not need to do fresh install/reset defaults.

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @dmytrokoren
                              last edited by

                              @dmytrokoren glad you got it sorted.. You would almost never have to do a fresh install - unless something crazy wrong that you can not even get to pfsense or something.

                              Or other times it can be a time saver vs tracking down the actual issue causing the problem.

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

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