Announcement

Collapse
No announcement yet.

Jon00 PicViewer Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Jon00 PicViewer Problem

    I just downloaded and setup the PicViewer package. Looks like there was a problem when you packed up this version. It loads just fine but when I try to change pages from the drop down list I get:
    Script Error:
    File not found: C:\Program Files\HomeSeer 2\html\PicViewer.asp

    Should be calling PicViewer.ash not PicViewer.asp?

    Since I got you here, Jon ...
    * Would it be possible to add another date method. I use webcamXP and it uses the date method YYYYMMDD.

    * And a more involved request: Can we get the ability to select and delete photos? This would need to work on the UNC path pics.

    Thanks.
    Bryan
    Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
    Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

    #2
    Yes, it a packing issue

    I'll try and do that tomorrow. I probably can add the date quite easily but the delete request is not really on the agenda.
    Jon

    Comment


      #3
      I've corrected the packing error and added the date format. Let me know if all is OK.
      Jon

      Comment


        #4
        Hey Jon,
        Hopefully this is just me not getting my head around this but this is what I'm getting.

        [Settings]
        ThumbnailWidth="95"
        ThumbnailHeight="95"
        DisplayImageHeight="250"
        ThumbnailWindowHeight="198"
        ImageTypes ="jpg,gif,png,bmp"
        LargeImageBGColor="#000000"
        ImagePathFontColor="#FF0000"
        ShowImagePath="1"
        DateSeparator="/"
        DateFormat="2"
        HeightOffset="20"
        GuestViewAll="0"
        DropdownWidth=""
        HideHeaderButton=0
        AllowEnlarge=1
        ThumbnailLastModified=1

        [ImagePath1]
        Path="\\BigBrother\1\<Date>\"
        Description="Security Front Porch Camera"
        SkipList=""
        Subfolder="1"
        UseFilter="0"
        InitialImage=""

        My folders are:
        1\20090504
        1\20090505
        1\20090506

        With this setup I get just today's pics (20090506).

        If I change path=\\BigBrother\1\
        I now get pics from all 3 days combined into one.

        If I change path=\\BigBrother\1\ and UseFilter="1"
        I get 'No Images Found'

        If I change path=\\BigBrother\1\<Date>\ and UseFilter="1"
        I get 'No Images Found'


        Any ideas?
        Bryan
        Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
        Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

        Comment


          #5
          No, you are not going mad. It appears that when I added the 3rd date option for you, I missed updating the code for when you use the drop-down dates.

          The only easy way I'm going to get this going is to have the drop-downs in YYYY MM DD order to match the webcam folder. The trouble is that the date format preferences and date order in the folders are intrinsically linked together.

          I'll take a look at this tonight.
          Jon

          Comment


            #6
            I think I've sorted out the problem.

            I've seperated the Datefolderformat with the Dateformat.

            There is a new ini entry under [Settings] called DatefolderFormat

            Try these settings once you download the new version:

            [Settings]
            ThumbnailWidth="95"
            ThumbnailHeight="95"
            DisplayImageHeight="250"
            ThumbnailWindowHeight="198"
            ImageTypes ="jpg,gif,png,bmp"
            LargeImageBGColor="#000000"
            ImagePathFontColor="#FF0000"
            ShowImagePath="1"
            DateSeparator="/"
            DateFormat="1"
            DateFolderFormat="2"
            HeightOffset="20"
            GuestViewAll="0"
            DropdownWidth=""
            HideHeaderButton=0
            AllowEnlarge=1
            ThumbnailLastModified=1

            [ImagePath1]
            Path="\\BigBrother\1\<Date>\"
            Description="Security Front Porch Camera"
            SkipList=""
            Subfolder="0"
            UseFilter="1"
            InitialImage=""
            Jon

            Comment


              #7
              Sorry, Jon

              I tried the new download with the new settings. Still get 'No Image Found'.

              If I remove the UseFilter="1" to UseFilter="0", I get todays pics. So there are pics available in the directory.
              Bryan
              Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
              Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

              Comment


                #8
                Bryan,

                I'm really not sure what is going wrong as I've tried it here with all the different folders etc and all seems to work OK with my security images.

                When filtering is in use, it looks at the last modified date of each image and that has to match the date selected. It may be that process which is causing the issue. I could add an option to ignore the date stamp if using date folders.

                The second could be US date format which I cannot test easily.

                If you have a folder with 20090505, select this date using the 3 drop downs (you must select each one - do not assume what is displayed on the drop down will be used). See if that works.
                Jon

                Comment


                  #9
                  Hey Jon,
                  I don't have the dir 20090505, sorry ... I just deleted it this morning.

                  I like the option to ignore the date stamp if using date folders idea. To me this seems like the easiest way out of this.

                  For your reference though, this is what the properties look like on a picture taken today.
                  Attached Files
                  Bryan
                  Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
                  Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

                  Comment


                    #10
                    OK, I will remove the date checking when using date folders.

                    I'll take a look on Saturday when I have some time free.
                    Jon

                    Comment


                      #11
                      Bryan,

                      My next attempt can now be downloaded. The only change is that if you now set Usefilter=2 then this disables date checking but still leaves the date select bar.

                      Try the settings below.

                      [Settings]
                      ThumbnailWidth="95"
                      ThumbnailHeight="95"
                      DisplayImageHeight="250"
                      ThumbnailWindowHeight="198"
                      ImageTypes ="jpg,gif,png,bmp"
                      LargeImageBGColor="#000000"
                      ImagePathFontColor="#FF0000"
                      ShowImagePath="1"
                      DateSeparator="/"
                      DateFormat="1"
                      DateFolderFormat="2"
                      HeightOffset="20"
                      GuestViewAll="0"
                      DropdownWidth=""
                      HideHeaderButton=0
                      AllowEnlarge=1
                      ThumbnailLastModified=1

                      [ImagePath1]
                      Path="\\BigBrother\1\<Date>\"
                      Description="Security Front Porch Camera"
                      SkipList=""
                      Subfolder="1"
                      UseFilter="2"
                      InitialImage=""
                      Jon

                      Comment


                        #12
                        Jon,
                        Thank you very much! Works great now. A donation has been sent!

                        Thanks again.
                        Bryan
                        Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
                        Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

                        Comment


                          #13
                          Thanks Bryan...appreciated!
                          Jon

                          Comment


                            #14
                            Either confused or just don't get it!

                            Jon,

                            Really cool Picture Viewer. Lots of potential for security camera use. Great work!!

                            I have four folders:
                            C:\Program Files\Home Seer HS2\html\netcam1
                            C:\Program Files\Home Seer HS2\html\netcam2
                            C:\Program Files\Home Seer HS2\html\netcam3
                            C:\Program Files\Home Seer HS2\html\netcam4

                            I have a script that copies images with the wild card criteria from
                            C:\Program Files\Home Seer HS2\html\netcam1
                            and pastes them into the proper netcam1 to 4 folders.

                            So I have four distinct image names in four different folders. Each folder has the image time stamp for sorting. What I am having a problem with is no matter what I try in the picviewer.ini I cant get it to select the "today" date pictures.

                            First folder settings:
                            [ImagePath1]
                            Path="c:\Program Files\HomeSeer HS2\html\netcam1\"
                            Description="Back Porch"
                            SkipList=""
                            Subfolder="1"
                            UseFilter="0"
                            InitialImage=""
                            ShowSlideShowButton=""
                            Slidespeed=""
                            Blendduration=""
                            ImageWidth=""
                            Imageheight=""
                            CreateThumb="1"
                            Range=""

                            Any idea??

                            Joe

                            Comment


                              #15
                              Wow. I have not looked at this in ages.

                              It looks OK. Can you give me a couple of examples of the filenames in the netcam1 directory?
                              Jon

                              Comment

                              Working...
                              X