Administration > Documentation/FAQ
Activating album.pl features from the web
(1/1)
Mike Bobbitt:
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.
Navigation
[0] Message Index
Go to full version