Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-12-2010, 06:58 PM   #1
kektex
Confirmed User
 
Industry Role:
Join Date: Mar 2005
Location: elkektex at gmail
Posts: 1,813
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.
kektex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 07:10 PM   #2
Stef.
Confirmed User
 
Stef.'s Avatar
 
Industry Role:
Join Date: Feb 2009
Posts: 995
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
Stef. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 07:14 PM   #3
kektex
Confirmed User
 
Industry Role:
Join Date: Mar 2005
Location: elkektex at gmail
Posts: 1,813
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
kektex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 07:15 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,356
i use a shell script to do this
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 07:20 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,356
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.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 07:48 PM   #6
kektex
Confirmed User
 
Industry Role:
Join Date: Mar 2005
Location: elkektex at gmail
Posts: 1,813
Thanks fris! How many levels deep will that go? My bash-fu is not that strong hehe
kektex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-31-2010, 06:59 PM   #7
kektex
Confirmed User
 
Industry Role:
Join Date: Mar 2005
Location: elkektex at gmail
Posts: 1,813
For future reference and if anyone else is looking I found this:
http://qdig.sourceforge.net/
kektex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.