| |
|
|
| |
Blade
Services Photo Gallery V2
|
|
| |
Description |
|
| |
The
Blade Services Photo Gallery is a fully customisable ASP photo gallery.
It does not require the use of a DSN connection.
Thumbnail images are displayed in a table, along with the title of the photo
that is entered into an Access database.
There is a web based administration section, which allows variation of the
number of thumbnails displayed per page, alter the background colour of
the gallery, width of the gallery etc.The
Gallery is based on a series of ASP pages, and one include file for configuration. |
|
| |
Platform |
|
| |
Windows
NT4.0 Server with Internet Information Server 4.0.
Windows 2000 Server with Internet Information Server 5.0
Windows 2000 Professional with IIS option pack.
Windows XP Professional with IIS 5.1 option pack.
Personal Web Server (Windows 98 - NOT TESTED) |
|
| |
Licence
|
|
| |
The Blade Services
Photo Gallery is Freeware distributed under the terms of the GNU General Public License.
Additional conditions
:-
- You supply us with
information regarding any changes made to the ASP code – you may have
been able to have done something better.
- Removal/modification
of the words contained in the file pagefoot.js, or excluding pagefoot.js
from the viewed gallery displayed on any Internet/Intranet website is
not acceptable, and will be deemed an infraction of this license.
By installing this
distribution in whole or in part on any Webserver in any Domain you are
accepting the terms of this license.
|
|
| |
Files
included in the distribution |
|
| |
| gallery.asp
|
The
script which displays your images |
| pagefoot.js |
Please
do not edit this file (see license) |
| topimage.jpg |
Banner
image to display at the top of the gallery |
| adovbs.inc |
Standard
ADO constants library |
| admin.asp |
The
administration login page |
| admin_galleryView.asp |
Main
administration page |
| admin_galleryUpdate.asp |
Administration
page for updating the gallery |
| constring.asp |
This
is the only major file that requires customisation |
| palette.htm |
A
page to allow you to pick colours |
| overlib.js |
Third
party script for admin page |
| gallery.mdb |
The
database |
| header.inc |
Include
file for the admin page |
| foot.inc |
Include
file for the admin page |
| ts.gif |
Image
for the admin page |
| del.gif |
Image
for the admin page |
| helppop.gif |
Image
for the admin page |
| colorcube.gif |
Image
for the admin page |
| spacer.gif |
Image
for the admin page |
| topimage.gif |
Image
for the admin page |
| help.gif |
Image
for the admin page |
| colorcube.gif |
Image
for the admin page |
| clear_dot.gof |
Image
for the admin page |
| edit.gif |
Image
for the admin page |
|
|
| |
Installation |
|
| |
Unzip
all files to your local web site i.e. “Inetpub\wwwroot\mysite\gallery”
There must be a folder “images” with two sub folders “large” and “thumbs”
in the same directory as gallery.asp. (unzipping the distribution will preserve
the directory structure)
Put your full size images in “large”, thumbnail images in “thumbs”, it is
best to use identical filenames to ease confusion – do not change the names
of these folders |
|
| |
Configuration |
|
| |
Edit the file constring.asp
in notepad or similar (this file is located in the include folder).
WARNING - Programs
such as Front Page may rewrite ASP code and cause the gallery to fail
CHANGE THE ADMIN
USERNAME AND PASSWORD
You may need to change the connection string – this depends on the
location of your Access database.
In case you want to move your images to a different folder, change the
value for ImageFolderName (eg if you have moved the thumbs and large folders
to galleryimages, you would change this to “galleryimages”)
Do not move or delete any statements inside <% and %> unless you
are familiar with ASP.
The database does not need accessing at this time
You can either finish setting up the gallery now on your local computer
(see note below about NTFS permissions on gallery.mdb), or your webserver.
FTP it all up to your Webserver and ensure that the Internet User Guest
account has read/write access to the database (you may need to contact
your ISP for this).
If you have to put the database in a different folder, ie /db on your
server, you will need to change Server.Map.Path(“fpdb/gallery.mdb”) in
constring.asp to the full relative path to the database. (There is a Brinkster
style example in the constring.asp file)
|
|
| |
Finishing
setup |
|
| |
Access the file admin.asp
in a browser via your webserver, enter the username and password that
you placed in constring.asp.
You will then be logged in.
Setting up your gallery parameters:
First of all, adjust the parameters in the “Gallery parameters” section.
Click the small link below the parameters section to display a colour
picker – when you are happy, click “update parameters”
NOTE if you get an error messaging saying you must use an updateable
query, the database does not have the correct permissions set - set note
above in installation
Adding images to
your gallery:
Now click “Add Picture” – the script will pick up the filenames of all
your thumbnail and fullsize images on your server.
Select the correct filenames, enter a photo title and any comments, then
press “Add Page”.
Repeat this for all the images you want to display.
To edit a photo record, click the small page icon “Edit this entry”
on the left of the table displaying the records (below the heading “Action”).
To delete a photo record, click the small trash icon “Delete this
entry” on the left of the table displaying the records (below the heading
“Action”).
It should work and happily display your gallery – you can have another
browser open on gallery.asp – refresh this window to see your changes
as you make them.
For bug reports, email help@bladeservices.co.uk
© 2000/1 Blade Services
|
|
| |
|
|
| |
|
|