Looking for a simple photo gallery script...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kektex
    Confirmed User
    • Mar 2005
    • 1813

    #1

    Looking for a simple photo gallery script...

    I'm looking for a simple photo gallery script that will take folders full of pics and just turn them in to photo galleries.

    I have many (over 1000) photos in various folders in my server and I want to turn these folders in to photo galleries. Nothing fancy, this is not even gonna be a public site, it's just so I can see what content I have available.
    exgfmovies.com, exgfclips.com, datesx.com, gayboards.com and more!
  • Stef.
    Confirmed User
    • Feb 2009
    • 995

    #2
    jalbum.net looks really nice. don't know if it's what you are looking for?
    .
    Try RSTGP : A Really Simple FREE Thumb Rotator Script. You Can Build A Complete TGP Site In 20 Minutes...
    contact me if you have questions (example site : Teen Sex Galleries )
    Sexy Cams Online

    Comment

    • kektex
      Confirmed User
      • Mar 2005
      • 1813

      #3
      I actually need a script I can put on my server.
      Say I install it in www.example.com/album

      I have dozens of folders and subfolders /album. I want it to make galleries of those folders and subfolders so I can browse them easily.

      Thanks for the suggestion RSTGP, jalbum looks good. Bookmarked
      exgfmovies.com, exgfclips.com, datesx.com, gayboards.com and more!

      Comment

      • fris
        I have to go potty
        • Aug 2002
        • 55727

        #4
        i use a shell script to do this
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

        My Latest Theme

        Comment

        • fris
          I have to go potty
          • Aug 2002
          • 55727

          #5
          i just run this from inside my main dir of pics

          Code:
          #!/bin/bash
          
          JPGTN="no"
          
          if [ ! -d thumb ]; then
            mkdir thumb
          fi
          
          function resize() { 
            if [ "$JPGTN" == "yes" ]; then
              jpgtn -d thumb -p $2. -f -s $1 -H "$i"
            elif [ "$JPGTN" == "no" ]; then
              convert -resize x$1 "$i" "thumb/$2.$i"
            else
              echo 'ERROR: set the $JPGTN variable to "yes" or "no"'
              exit -1
            fi
          }
          
          if [ -f "index.html" ]; then
            echo 'ERROR: index.html already exists'
            exit
          fi
          
          echo '- generating thumbnails'
          for i in *.jpg; do echo $i; resize 150 thumb; done
          
          echo '- generating small images'
          for i in *.jpg; do echo $i; resize 640 small; done
          
          echo '- generating indexes'
          
          echo '<body bgcolor=white>' > index.html
          
          for i in *.avi *.mpg *.mov; do
            if [ -f "$i" ]; then
              echo $i
              echo '<a href="'$i'">'$i'</a><br>' >> index.html
            fi
          done
          
          echo '<br>' >> index.html
          
          for i in *.jpg; do 
          
            echo $i; 
            echo '<a href="'$(basename $i .jpg)'.html"><img src="thumb/thumb.'$i'" border=0></a>' >> index.html
          
            
            if [ "$CURRENT" ]; then
              PREVIOUS="$CURRENT"
            fi
          
            CURRENT="$(basename $i .jpg)"
          
            echo '<body bgcolor=white text="#CCCCCC" link="#CC0000" vlink="#CC0000" alink="#CC0000"><a href="indexx.html">homex</a> <a href="index.html">home</a><br>' > $CURRENT.html
          
            if [ "$PREVIOUS" ]; then
              sed -e s/index\.html/$CURRENT.html/ -e s/'home<'/'next<'/ $PREVIOUS.html > tmp
              mv tmp $PREVIOUS.html
          
              if [ -z "$FIRST" ]; then
                FIRST=$PREVIOUS
                sed -e s/indexx.html/index.html/ -e s/homex/home/ $PREVIOUS.html > tmp
                mv tmp $PREVIOUS.html
              fi
          
              sed -e s/indexx.html/$PREVIOUS.html/ -e s/homex/prev/ $CURRENT.html > tmp
              mv tmp $CURRENT.html
            fi
          
            echo '<a href="'$i'"><img src="thumb/small.'$i'" border=0></a>' >> $CURRENT.html
          
          done
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          My Latest Theme

          Comment

          • kektex
            Confirmed User
            • Mar 2005
            • 1813

            #6
            Thanks fris! How many levels deep will that go? My bash-fu is not that strong hehe
            exgfmovies.com, exgfclips.com, datesx.com, gayboards.com and more!

            Comment

            • kektex
              Confirmed User
              • Mar 2005
              • 1813

              #7
              For future reference and if anyone else is looking I found this:
              http://qdig.sourceforge.net/
              exgfmovies.com, exgfclips.com, datesx.com, gayboards.com and more!

              Comment

              Working...