Announcement

Collapse
No announcement yet.

My Pictures?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    My Pictures?

    Is there a plugin or script that will allow me to view My Picture directory and the sub directory and a small preview of each picture?

    Does this make sense?

    Thanks

    Thom

    #2
    An ASP file could be made to do that. Rather than re-inventing the wheel, search for such an animal on the internet. I bet you will find a free ASP page that shows pictures either via slideshow or thumbnails. If you find it, post or send me a copy and I will help you alter it for HomeSeer use.
    Jim Doolittle

    My Twitter
    My Hardware & Software

    Comment


      #3
      Jim I had found this it states it is VB.net but I was unsure about it.

      http://www.codeproject.com/aspnet/Fl...diaCatalog.asp

      Thanks

      Thom

      Originally posted by Jim Doolittle View Post
      An ASP file could be made to do that. Rather than re-inventing the wheel, search for such an animal on the internet. I bet you will find a free ASP page that shows pictures either via slideshow or thumbnails. If you find it, post or send me a copy and I will help you alter it for HomeSeer use.

      Comment


        #4
        Pretty cool, I'd be interested in something like this, good find!!

        Comment


          #5
          Heres a small set of files to display a dirs pictures in thumbnails on the left side and when clicked opens in the mainframe on right.. you will need to edit the path to point to your picture dir in Photos.asp

          drop the whole folder into your Homeseer/html folder and call localhost/pictest/grabs.html

          Enjoy

          TrOjAn
          Attached Files

          Comment


            #6
            Originally posted by GreenAcres View Post
            Jim I had found this it states it is VB.net but I was unsure about it.

            http://www.codeproject.com/aspnet/Fl...diaCatalog.asp

            Thanks

            Thom
            Thom,

            Try TrOjAn's solution since it is already HomeSeer ready. If you still want to play around with the codeproject solution let me know.
            Jim Doolittle

            My Twitter
            My Hardware & Software

            Comment


              #7
              Thanks,

              I changed to directory info to:

              PHP Code:
              '  Set the path to the images directory ...
              strPathX = "c:\My Documents\My Pictures\"
              '  
              Create our FSO
              Set objFSO 
              CreateObject("Scripting.FileSystemObject")
              '  Get a handle on our folder
              Set objFolder = objFSO.GetFolder(strPathX)
               
              For Each objItem In objFolder.Files
               strImageName = objItem.name
               Response.Write "<img src=c:\My Documents\My Pictures\" & strImageName &"' 
              height='125' width='150' onclick='enlargeIt(this)'><br><br>"
               'Response.Write "
              <img src='" & strImageName &"' height='125' width='150' onclick='enlargeIt(this)'><br><br>"
              next
              %> 
              and all I get is the below

              Any ideas.

              Thanks

              Thom


              Originally posted by TrOjAn View Post
              Heres a small set of files to display a dirs pictures in thumbnails on the left side and when clicked opens in the mainframe on right.. you will need to edit the path to point to your picture dir in Photos.asp

              drop the whole folder into your Homeseer/html folder and call localhost/pictest/grabs.html

              Enjoy

              TrOjAn
              Attached Files

              Comment


                #8
                "c:\My Documents\My Pictures\" is the physical location of the picture files. This might work on the HS computer itself but not from any other computer. You would need to use the URL path (\\computer\share) in order to see it from other computers.

                The Pod

                Comment


                  #9
                  It lookslike the script is getting the picture files as there are place holders for them.. I cannot remember as its been a while but I think? its .jpg ONLY.

                  See screen grab.

                  TrOjAn
                  Attached Files

                  Comment


                    #10
                    It does not even work form the Homeseer computer?

                    Thom

                    Originally posted by MPodlin View Post
                    "c:\My Documents\My Pictures\" is the physical location of the picture files. This might work on the HS computer itself but not from any other computer. You would need to use the URL path (\\computer\share) in order to see it from other computers.

                    The Pod

                    Comment


                      #11
                      They are all *.jpg files but they are in sub directorys as well. I was hoping Jim Doolittle would chime in he was interested as well.

                      Thanks

                      Thom

                      Originally posted by TrOjAn View Post
                      It lookslike the script is getting the picture files as there are place holders for them.. I cannot remember as its been a while but I think? its .jpg ONLY.

                      See screen grab.

                      TrOjAn

                      Comment


                        #12
                        Jim are yor there or does anyone else have any ideas?

                        Thanks

                        Thom

                        Comment


                          #13
                          I haven't messed with FileSystemObject in a while. Try putting

                          PHP Code:
                          Response.Write strImageName 
                          immediately after

                          PHP Code:
                          strImageName objItem.Name 
                          so we can see what the image names are.
                          Jim Doolittle

                          My Twitter
                          My Hardware & Software

                          Comment


                            #14
                            Ok it now shows the name above the picture but it does not show the picture. The picture is in jpg format.

                            There are also sub directors and it does not show them eiter.

                            Thanks

                            Thom



                            Originally posted by Jim Doolittle View Post
                            I haven't messed with FileSystemObject in a while. Try putting

                            PHP Code:
                            Response.Write strImageName 
                            immediately after

                            PHP Code:
                            strImageName objItem.Name 
                            so we can see what the image names are.

                            Comment


                              #15
                              Thom, yes Im sorry the scripts dont go down any more levels of the file system, it only shows the photos in a single dir.

                              I was hoping maybe it would get you started and you could customise it for what you needed.

                              TrOjAn

                              Comment

                              Working...
                              X