Download Perl Scripts

AlbumAdvanced 50620.1458AlbumAdvanced - $0 Version 50620.1458
Add to Cart



back
subscribe
download
support
demo/see it work
RSS Feed
AlbumAdvanced
by CrookedBush.com

----------------------------->>


This script reads the contents of the directories on your
server, and shows images in these directories as thumb nails.

Here's an overview of what you need to do to get this to work.

1. First upload photographs to a directory. Call the directory
something descriptive like "album" or "photos".

2. Within this directory you may have sub-directories like "March"
"April", or "Parade_2005". Put the photos in these directories
so that everything is all 'nice and organised.'

3. Now place the script in the root directory (if your server
allows you to have executables there) or in your cgi-bin if not.


4. HERE IS AN OVERVIEW of the VARIABLES in the SCRIPT

$images_directory = "/home/virtual/site148/fst/var/www/html/";

This is the location of your photos directory from the server root.
It's often referred to as a 'path.'

$relative_url_from_base_url = "/"; # this is not a directory, but a relative url to images location. just enter a slash if the images are in the root directory.

This is not a directory, but a relative url to images location.
Just enter a slash if the images are in the root directory. If your
images are a folder or two away from your script, then this contains
the difference. For example, if your site is:
www.site.com/directory/photos
then your relative url is /directory/photos

$url = "81.4.114.95/~intelliscript.net";

$default_body_info = qq~ <STYLE><!--\nbody {\nSCROLLBAR-ARROW-COLOR: #d47e40;\nSCROLLBAR-BASE-COLOR: #202020;\nSCROLLBAR-HIGHLIGHT-COLOR: #000000;\nSCROLLBAR-SHADOW-COLOR: #FFFFFF;\nSCROLLBAR-3DLIGHT-COLOR: #e7a26f;\nSCROLLBAR-TRACK-COLOR: #000000;\nSCROLLBAR-DARKSHADOW-COLOR: #e7a26f;\n}\n-->\n</STYLE>\n <body bgcolor="#000000" text="#E7A26F" link="#D47E40" alink="#D47E40" vlink="#D47E40">\n <font face="Verdana, Tahoma, Arial, Sans Serif" size="2"> ~;

This is the default body tag for the display of the script. If
there is an ini file in the directory, it will use the body info
from this ini file instead.

$default_pics_per_page = 9;

On thumbnail page, this is number of photos to show on page

$default_font = 'Tahoma, Arial, Sans Serif';
$default_slide_speed = 8;
$default_thumb_width = 107;

This is the size of the thumb nails in thumb nail view.

$display_slides_adjust = 1;

Set this to zero to hide the controls for adjusting the display

$display_login = 0;
$use_includes = 1; # set to one if you want to use server side include feature. See ReadMe for more details

Set this variable to zero if you're not using a SSI. If you are, then
put an index file in the uppermost directory containing a call to this
script. Here's an example of a SSI which would call the script in the
folder photos:
<!--#exec cgi="/photos/album.cgi"-->

$use_send_card = 1;

Set this to one to allow cards to be sent.

$card_maker_script = "cgi-bin/card.pl"; # leave this as is if you wish

This will allow your visitors to send any photo on your site as a card.


5. INI files
See the example INI file to see how they work. Place one in each directory.
Give your users a login and a password, and set the colours etc.
Here are some of the configurations:
pics_per_page=10
bgcolor=#FFFFFF
text=#000000
alink=red
vlink=purple
link=green
background=
topmargin=0
leftmargin=0
font_face=comic, comic sans ms
login=jasonsilver
pass=test1
4-4-0_enters_town.jpg=A little 4-4-0 enters town, whistle blowing.
sister.jpg=This is Johnny's baby sister and she is smiling.

At this time, users cannot delete their own photos.

The INI file system can only be changed if there is a master INI file in the
root directory. One has been included in the zip file. Do not upload this
file if you do not want to share folders.

Again, please let me know if you have ANY problems. Please register to enable
me to offer updates and new features.

Yours,
Jason Silver

_____________________
www.CrookedBush.com
creative web solutions


 
top next subscribe download faq demo/see it work xml pad file RSS Syndication OPML List - All Programs



[admin]

FileCABINET Script - Create a File Download section on your site.

In the Spotlight

AlbumAdvanced $0.00
Add to Cart
 Got a digital camera and want an easy way to share photos with family and friends? Try AlbumAdvanced- a fun and painless way to display photos on your web server. Create descriptions, customise folders, create slide shows, and more!
[more & download links]

What People Say

Dictionary $0.00
Add to Cart Thanks for a great script--very usefull!
[more & download links]

Post Page Comment