Simple image gallery?

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

    #1

    Simple image gallery?

    Hello

    I've been googling for a couple of hours, but still haven't found what
    I need:
    - really simple PHP-based image gallery software. Ideally, just a
    single file that I just drop into a directory filled with JPG files
    - uses eg. GD to generate thumbnails automagically, and saves them
    into a sub-directory for the next time (I don't want thumbnails to be
    regenerated every time someone views the pictures)
    - as an option, supports slideshow
    - free/open-source

    Any good recommendation?

    Thank you.
  • salmobytes

    #2
    Re: Simple image gallery?

    On Oct 3, 1:27 pm, Gilles Ganault <nos...@nospam. comwrote:
    I've been googling for a couple of hours, but still haven't found what
    I need:
    - really simple PHP-based image gallery software.
    look for Robopages at phpclasses.org

    Comment

    • Jim Carlock

      #3
      Re: Simple image gallery?

      On Oct 3, 1:27 pm, Gilles Ganault wrote:
      I've been googling for a couple of hours, but still haven't found
      what I need:
      - really simple PHP-based image gallery software.
      Have you tried the glob() function?


      Or the opendir() function?



      The example for the opendir() function:

      <?php
      $dir = "/etc/php5/";

      // Open a known directory, and proceed to read its contents
      if (is_dir($dir)) {
      if ($dh = opendir($dir)) {
      while (($file = readdir($dh)) !== false) {
      echo "filename: $file : filetype: " . filetype($dir . $file) . "\n";
      }
      closedir($dh);
      }
      }
      ?>

      which prints out:

      filename: . : filetype: dir
      filename: .. : filetype: dir
      filename: apache : filetype: dir
      filename: cgi : filetype: dir
      filename: cli : filetype: dir

      --
      Jim Carlock
      Swimming Pool, Spa And Water Feature Builders



      Comment

      • Gilles Ganault

        #4
        Re: Simple image gallery?

        On Wed, 3 Oct 2007 16:49:23 -0400, "Jim Carlock" <anonymous@127. 0.0.1>
        wrote:
        (snip)

        Thanks for the reply, but I'd rather use something that's already
        available rather than writing my own.

        Features:
        - no DB required
        - one (or a few) PHP files, ie. really basic footprint
        - generates thumbnails, and saves copy in sub-dir to avoid re-creating
        thumbnails every time
        - basic, no thrill layout template

        Thanks.

        Comment

        • Rik Wasmus

          #5
          Re: Simple image gallery?

          On Wed, 03 Oct 2007 21:27:45 +0200, Gilles Ganault <nospam@nospam. com>
          wrote:
          Hello
          >
          I've been googling for a couple of hours, but still haven't found what
          I need:
          - really simple PHP-based image gallery software. Ideally, just a
          single file that I just drop into a directory filled with JPG files
          - uses eg. GD to generate thumbnails automagically, and saves them
          into a sub-directory for the next time (I don't want thumbnails to be
          regenerated every time someone views the pictures)
          - as an option, supports slideshow
          - free/open-source
          >
          Any good recommendation?
          Well, 'good'.. OK I guess: http://www.mywebmymail.com/, EasyPhpAlbum. Has
          all the requrements you mention.
          --
          Rik Wasmus

          Comment

          • James Barrett

            #6
            Re: Simple image gallery?

            -----BEGIN PGP SIGNED MESSAGE-----
            Hash: SHA1

            Gilles Ganault wrote:
            Hello
            >
            I've been googling for a couple of hours, but still haven't found what
            I need:
            - really simple PHP-based image gallery software. Ideally, just a
            single file that I just drop into a directory filled with JPG files
            - uses eg. GD to generate thumbnails automagically, and saves them
            into a sub-directory for the next time (I don't want thumbnails to be
            regenerated every time someone views the pictures)
            - as an option, supports slideshow
            - free/open-source
            >
            Any good recommendation?
            >
            Thank you.



            -----BEGIN PGP SIGNATURE-----
            Version: GnuPG v1.4.6 (GNU/Linux)

            iD8DBQFHBNhsQuD JiZ/QrH0RAs2OAJsF9F 15Zb5HnV0r/R+t2fWePsgJpQCf QHqL
            G33yLPcxnrz1pmY rubI+HAU=
            =eY+w
            -----END PGP SIGNATURE-----

            Comment

            • Jim Carlock

              #7
              Re: Simple image gallery?

              I developed the following to display the pictures for a particular
              customer...



              If you're interested in the way that works, I've got the source
              code for the layout.

              --
              Jim Carlock
              Swimming Pool, Spa And Water Feature Builders



              Comment

              • Gilles Ganault

                #8
                Re: Simple image gallery?

                On Thu, 04 Oct 2007 08:44:44 +0200, "Rik Wasmus"
                <luiheidsgoeroe @hotmail.comwro te:
                >Well, 'good'.. OK I guess: http://www.mywebmymail.com/, EasyPhpAlbum. Has
                >all the requrements you mention.
                Thanks, just what I was looking for.

                Comment

                • Sascha Tayefeh

                  #9
                  Re: Simple image gallery?

                  Hi Gilles,

                  I have written one you might be interested in. It is hosted by
                  Sourceforge, so don't hesitate to follow this link:

                  AtomPhotoBlog is a set is a set of PHP5-classes that provide everything you need in order to create your photoblog. Its user-interface makes the features highly customizable, while the object-oriented programming style makes it highly extensible. re.


                  Although consists of a little more than a single file, it is a
                  lightweight program and, of course, free and open-source.

                  Sincerly
                  Sascha Tayefeh

                  Comment

                  • Gilles Ganault

                    #10
                    Re: Simple image gallery?

                    On Wed, 10 Oct 2007 22:54:34 -0000, Sascha Tayefeh
                    <sascha.tayefeh @googlemail.com wrote:
                    >http://atomphotoblog.sourceforge.net/
                    >
                    >Although consists of a little more than a single file, it is a
                    >lightweight program and, of course, free and open-source.
                    Thanks, I'll give it a shot.

                    Comment

                    • pennington.chris@gmail.com

                      #11
                      Re: Simple image gallery?

                      - really simple PHP-based image gallery software. Ideally, just a
                      single file that I just drop into a directory filled with JPG files
                      - uses eg. GD to generate thumbnails automagically, and saves them
                      into a sub-directory for the next time (I don't want thumbnails to be
                      regenerated every time someone views the pictures)
                      - as an option, supports slideshow
                      - free/open-source

                      I've actually been developing an image gallery that may be of some
                      help to you. I wasn't going to release this out into the wild yet
                      because I don't have a site setup for it yet, but I figured I may as
                      well try to help you out if at all possible.

                      So any ways, check out this link http://www.virtualconsolemondays.com...ery.php?page=0

                      If it is what you are looking for the great, if it is missing anything
                      you should be able to easily add it in.
                      Also if you need any help with it all just shoot me an email.

                      Comment

                      • pennington.chris@gmail.com

                        #12
                        Re: Simple image gallery?

                        On Oct 27, 5:28 pm, "pennington.ch. ..@gmail.com"
                        <pennington.ch. ..@gmail.comwro te:
                        - really simple PHP-based image gallery software. Ideally, just a
                        single file that I just drop into a directory filled with JPG files
                        - uses eg. GD to generate thumbnails automagically, and saves them
                        into a sub-directory for the next time (I don't want thumbnails to be
                        regenerated every time someone views the pictures)
                        - as an option, supports slideshow
                        - free/open-source
                        >
                        I've actually been developing an image gallery that may be of some
                        help to you. I wasn't going to release this out into the wild yet
                        because I don't have a site setup for it yet, but I figured I may as
                        well try to help you out if at all possible.
                        >
                        So any ways, check out this linkhttp://www.virtualcons olemondays.com/img/gallery/lightgallery.ph p?page=0
                        >
                        If it is what you are looking for the great, if it is missing anything
                        you should be able to easily add it in.
                        Also if you need any help with it all just shoot me an email.
                        Updated the link to the gallery it is now:



                        Comment

                        • bill

                          #13
                          Re: Simple image gallery?

                          pennington.chri s@gmail.com wrote:
                          On Oct 27, 5:28 pm, "pennington.ch. ..@gmail.com"
                          <pennington.ch. ..@gmail.comwro te:
                          >>- really simple PHP-based image gallery software. Ideally, just a
                          >>single file that I just drop into a directory filled with JPG files
                          >>- uses eg. GD to generate thumbnails automagically, and saves them
                          >>into a sub-directory for the next time (I don't want thumbnails to be
                          >>regenerated every time someone views the pictures)
                          >>- as an option, supports slideshow
                          >>- free/open-source
                          >I've actually been developing an image gallery that may be of some
                          >help to you. I wasn't going to release this out into the wild yet
                          >because I don't have a site setup for it yet, but I figured I may as
                          >well try to help you out if at all possible.
                          >>
                          >So any ways, check out this linkhttp://www.virtualcons olemondays.com/img/gallery/lightgallery.ph p?page=0
                          >>
                          >If it is what you are looking for the great, if it is missing anything
                          >you should be able to easily add it in.
                          >Also if you need any help with it all just shoot me an email.
                          >
                          Updated the link to the gallery it is now:
                          >

                          >
                          Very nice.

                          What is the CC license ?

                          bill

                          Comment

                          • pennington.chris@gmail.com

                            #14
                            Re: Simple image gallery?

                            On Oct 28, 9:32 am, bill <nob...@spamcop .netwrote:
                            pennington.ch.. .@gmail.com wrote:
                            On Oct 27, 5:28 pm, "pennington.ch. ..@gmail.com"
                            <pennington.ch. ..@gmail.comwro te:
                            >- really simple PHP-based image gallery software. Ideally, just a
                            >single file that I just drop into a directory filled with JPG files
                            >- uses eg. GD to generate thumbnails automagically, and saves them
                            >into a sub-directory for the next time (I don't want thumbnails to be
                            >regenerated every time someone views the pictures)
                            >- as an option, supports slideshow
                            >- free/open-source
                            I've actually been developing an image gallery that may be of some
                            help to you. I wasn't going to release this out into the wild yet
                            because I don't have a site setup for it yet, but I figured I may as
                            well try to help you out if at all possible.
                            >
                            So any ways, check out this linkhttp://www.virtualcons olemondays.com/img/gallery/lightgallery.ph p?page=0
                            >
                            If it is what you are looking for the great, if it is missing anything
                            you should be able to easily add it in.
                            Also if you need any help with it all just shoot me an email.
                            >
                            Updated the link to the gallery it is now:
                            >>
                            Very nice.
                            >
                            What is the CC license ?
                            >
                            bill
                            Eh, I haven't put that into the code have I? Basically use it how you
                            want and when I put the license in the code all you have to do is
                            leave it in there. Free to edit and redistribute with the eventual CC
                            license intact.

                            Comment

                            • Krustov

                              #15
                              Re: Simple image gallery?

                              <comp.lang.ph p>
                              <pennington.chr is@gmail.com>
                              <Sun, 28 Oct 2007 17:51:41 -0000>
                              <1193593901.765 164.278920@o3g2 000hsb.googlegr oups.com>
                              Very nice.

                              What is the CC license ?

                              bill
                              >
                              Eh, I haven't put that into the code have I? Basically use it how you
                              want and when I put the license in the code all you have to do is
                              leave it in there. Free to edit and redistribute with the eventual CC
                              license intact.
                              >
                              Have you (or most other users) ever questioned why something that nobody
                              pays the slightest bit of attention too gets included - along with some
                              bollocks text saying it shouldnt be removed .

                              BTW: these are usually the same people who point out 'the futility of
                              war' movies make a valid point - ha ha ha ha ha :-)


                              --

                              Comment

                              Working...