Author Topic: Activating album.pl features from the web  (Read 6777 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Activating album.pl features from the web
« on: February 11, 2003, 09:57:38 »
Here is the complete list of methods for calling album.pl from the web. This list will give some insight into otherwise undocumented features:

Normal:
 http://perl.Bobbitt.ca/cgi-bin/album.pl

Go to a specific album:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?album=albumname

Go to a specific photo:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?photo=photoname

Go to the Configuration Management screen:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?function=config

Update titles and descriptions:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?function=enter_desc

Upload photos or movies:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?function=upload

Show the Administration Menu:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?function=admin

View photos as part of a slideshow (5 second delay):
 http://perl.Bobbitt.ca/cgi-bin/album.pl?slideshow=5

View photos as a full screen slideshow:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?slideshow=5;fullscreen=1

turn on debugging (highest level):
 http://perl.Bobbitt.ca/cgi-bin/album.pl?debug=4

Generate static HTML files for each album and photo:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?static=1

View recent uploads:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?album=:recent

View 15 most recent uploads:
http://perl.Bobbitt.ca/cgi-bin/album.pl?album=:recent;showall=15

View the 10 most recent uploads, formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?album=:recent;ssi=10

View a randomly selected photo from the album:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?random=1

View a randomly selected photo, formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?random=1;ssi=2

View the thumbnail of a randomly selected photo, formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?random=1;ssi=1

View randomly selected photos in a slideshow (5 second delay), formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?random=1;ssi=2;slideshow=5

View the thumbnails of randomly selected photos in a slideshow (5 second delay), formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?random=1;ssi=1;slideshow=5

View a specific photo, formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?photo=photoname;ssi=1

View photos in a slideshow (5 second delay), formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?photo=photoname;slideshow=5;ssi=1

View randomly selected photo directly (no HTML, just the image itself):
 http://perl.Bobbitt.ca/cgi-bin/album.pl?image=random

View randomly selected thumbnail directly (no HTML, just the thumbnail itself):
 http://perl.Bobbitt.ca/cgi-bin/album.pl?image=randthumb

View most popular photos:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?popular=1

View most popular albums:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?popular=2

View thumbnails of 10 most popular photos, formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?popular=1;ssi=10

View thumbnails of 10 most popular albums, formatted for inclusion in other pages:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?popular=2;ssi=10

Use an alternate configuration file:
 http://perl.Bobbitt.ca/cgi-bin/album.pl?configfile=/home/user/www/album.cfg

Note: Some of these won't work as displayed here. I have changed the function codes to prevent users from accessing the admin menu, turning on debugging, etc.
« Last Edit: July 07, 2004, 15:26:19 by Mike Bobbitt »