Looking for very simple and dynamic photo gallery based on directories...

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

    Looking for very simple and dynamic photo gallery based on directories...

    Hi everyone.

    I'm having trouble finding something. If I can't find it, I could
    bumble my way through writing something, but I thought I'd check around
    first.

    I am looking for a php script or some other software that will build a
    dynamic photo gallery without adding or changing my photos, or creating
    any static content.

    I use Gallery2 for my favorite photos...but I'd like the rest of the
    thousands to be available online, and to be available just becuase
    they're in the photos folder. I keep my photos in something like
    /home/mdg/Photos/2006/whatever ../2006/whateverelse
    .../2006/whateverthethir d and I add them all the time.

    I want a script that I could keep at
    /home/mdg/public_html/somescript.php or whatever...and point it at my
    photo root and have them all be there when I hit the script with my
    browser.

    So...I know the requirements are pretty specific. But, if anyone knows
    anything even close to something like this...I'd love to hear about it.

    Thanks,
    Matt

  • Geoff Berrow

    #2
    Re: Looking for very simple and dynamic photo gallery based on directories...

    Message-ID: <1160276858.590 932.196580@h48g 2000cwc.googleg roups.comfrom
    mdg contained the following:
    >So...I know the requirements are pretty specific. But, if anyone knows
    >anything even close to something like this...I'd love to hear about it.
    Take a look at the directories in


    This probably does a little more than you are asking. I dump the files
    and create a couple of writeable directories into the directory I'm
    using. The first time the script runs it creates copies of the files
    for display. Subsequently, it displays those images without recreating
    new ones.

    --
    Geoff Berrow (put thecat out to email)
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs http://www.ckdog.co.uk/rfdmaker/

    Comment

    • mdg

      #3
      Re: Looking for very simple and dynamic photo gallery based on directories...


      Geoff Berrow wrote:
      Message-ID: <1160276858.590 932.196580@h48g 2000cwc.googleg roups.comfrom
      mdg contained the following:
      >
      So...I know the requirements are pretty specific. But, if anyone knows
      anything even close to something like this...I'd love to hear about it.
      >
      Take a look at the directories in

      >
      This probably does a little more than you are asking. I dump the files
      and create a couple of writeable directories into the directory I'm
      using. The first time the script runs it creates copies of the files
      for display. Subsequently, it displays those images without recreating
      new ones.
      I like it. Can I have a peek at the script?

      Matt

      Comment

      • Geoff Berrow

        #4
        Re: Looking for very simple and dynamic photo gallery based on directories...

        Message-ID: <1160359427.627 521.183910@b28g 2000cwb.googleg roups.comfrom
        mdg contained the following:
        >This probably does a little more than you are asking. I dump the files
        >and create a couple of writeable directories into the directory I'm
        >using. The first time the script runs it creates copies of the files
        >for display. Subsequently, it displays those images without recreating
        >new ones.
        >
        >I like it. Can I have a peek at the script?
        OK, it's not particularly pretty because I haven't got around to tidying
        it up yet but here ya go.


        --
        Geoff Berrow (put thecat out to email)
        It's only Usenet, no one dies.
        My opinions, not the committee's, mine.
        Simple RFDs http://www.ckdog.co.uk/rfdmaker/

        Comment

        • mdg

          #5
          Re: Looking for very simple and dynamic photo gallery based on directories...


          Geoff Berrow wrote:
          Message-ID: <1160359427.627 521.183910@b28g 2000cwb.googleg roups.comfrom
          mdg contained the following:
          >
          I like it. Can I have a peek at the script?
          >
          OK, it's not particularly pretty because I haven't got around to tidying
          it up yet but here ya go.
          http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip
          Thanks Geoff. I put it up in a test directory and it worked well:


          Maybe i can change it around to suit my needs a bit. If I do, I'll
          send you a copy in case you might be interested.

          The presentation is great. Maybe I can make it so it's recursive, and
          lives outside of the images directory. I have SO many directories that
          I'd hate to have a copy of a script in each folder. Yuk.

          Thanks again.

          Matt in MD

          Comment

          • Chuck Anderson

            #6
            Re: Looking for very simple and dynamic photo gallery based on directories...

            Geoff Berrow wrote:
            Message-ID: <1160359427.627 521.183910@b28g 2000cwb.googleg roups.comfrom
            mdg contained the following:
            >
            >
            >>This probably does a little more than you are asking. I dump the files
            >>and create a couple of writeable directories into the directory I'm
            >>using. The first time the script runs it creates copies of the files
            >>for display. Subsequently, it displays those images without recreating
            >>new ones.
            >>>
            >I like it. Can I have a peek at the script?
            >>
            >
            OK, it's not particularly pretty because I haven't got around to tidying
            it up yet but here ya go.

            >
            >
            Very sweet and to the point.

            I've written a handful of galleries - some using a database - creating
            separate photo packages (folders) - a full administration back-end with
            login and uploading one picture at a time - allowing individual captions
            - re-ordering, .... links back to an index of photo packages (folders), ....

            Lately, I like the simple method like you've used. FTP a bunch of photos
            and the php script files to display them. Your method is very straight
            forward and the display sweet in it's simplicity. You've given me some
            ideas for improving mine now, too. Thanks for sharing.

            --
            *************** **************
            Chuck Anderson • Boulder, CO

            *************** **************

            Comment

            • Geoff Berrow

              #7
              Re: Looking for very simple and dynamic photo gallery based on directories...

              Message-ID: <EJadnZoBNN8wd7 fYnZ2dnUVZ_oWdn Z2d@comcast.com from Chuck
              Anderson contained the following:
              >OK, it's not particularly pretty because I haven't got around to tidying
              >it up yet but here ya go.
              >http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip
              >>
              >>
              >Very sweet and to the point.
              >
              >I've written a handful of galleries - some using a database - creating
              >separate photo packages (folders) - a full administration back-end with
              >login and uploading one picture at a time - allowing individual captions
              >- re-ordering, .... links back to an index of photo packages (folders), ....
              >
              >Lately, I like the simple method like you've used. FTP a bunch of photos
              >and the php script files to display them. Your method is very straight
              >forward and the display sweet in it's simplicity. You've given me some
              >ideas for improving mine now, too. Thanks for sharing.
              That's what open source is all about :-)

              Thank you for your kind comments.

              the only drawback about doing it this way is that the reduced size
              display images are only created when they are viewed for the first time.
              This makes the first viewing rather slow, especially if the source
              images are large. As I have a six megapixel camera, I tend to batch
              reduce the picture in size prior to uploading (I upload pics from my
              phone as they are.) I leave final reduction to the software.

              I'm thinking of adding a link to the large image if I can do it without
              losing the simplicity.

              --
              Geoff Berrow (put thecat out to email)
              It's only Usenet, no one dies.
              My opinions, not the committee's, mine.
              Simple RFDs http://www.ckdog.co.uk/rfdmaker/

              Comment

              Working...