By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,300 Members | 1,789 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,300 IT Pros & Developers. It's quick & easy.

photo gallery html generation

P: n/a
Hi,

I have a photo gallery with cat photos here http://mouserspage.cjb.net

From the beginning, I have been making each page of thumbnails, with a
separate page for each photo, entirely in plain html. Since the number
of photos I have has increased greatly, it becomes a long and tedious
process to go through all the pages to edit the links (to newly added
pages) and add in the new pages etc...

Is there any way to automate this process, with a script of some type
for example, but still be able to retain the look and feel of the
website as it is today? I've never done anything with scripts on web
pages before.

I don't have a problem with the creation of the photos and the
thumbnails in Photoshop, it's just getting the html pages together to
put the photos into which is taking up all the time.

Any suggestions?... Or should I just continue as I always have making
each html page manually?

Fraser

Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Ivo
"fraser" wrote
I have a photo gallery with cat photos here http://mouserspage.cjb.net

From the beginning, I have been making each page of thumbnails, with a
separate page for each photo, entirely in plain html. Since the number
of photos I have has increased greatly, it becomes a long and tedious
process to go through all the pages to edit the links (to newly added
pages) and add in the new pages etc...

Is there any way to automate this process, with a script of some type
for example, but still be able to retain the look and feel of the
website as it is today? I've never done anything with scripts on web
pages before.
There certainly are, both server-side (PHP, Perl etc. on your host's
computer) and client-side (Javascript in the user's browser). You don't have
control over the client side and therefore cannot rely on Javascript for
your navigation. Search engines bots will not (yet) find it.
The basics of PHP are not difficult to learn, and resources are abundant on
the web (http://www.php.net), and you don't need more than the basics for
the purpose of described photo-album. Even the thumbnails can be created
automatically on the server. If you make a script that reads the entire
content of a directory, all you need to do to publish new photographs is
upload them!
See for example http://4umi.com/image/wallpaper/
I don't have a problem with the creation of the photos and the
thumbnails in Photoshop, it's just getting the html pages together to
put the photos into which is taking up all the time.
Photoshop can create standard HTML files from a collection of pictures.
Any suggestions?... Or should I just continue as I always have making
each html page manually?


You always have that option.

HTH
Ivo
Jul 20 '05 #2

P: n/a
On Tue, 27 Jul 2004 05:41:21 GMT, fraser in comp.infosystems.www.authoring.html wrote:
Hi, I have a photo gallery with cat photos here http://mouserspage.cjb.net From the beginning, I have been making each page of thumbnails, with a
separate page for each photo, entirely in plain html. Since the number
of photos I have has increased greatly, it becomes a long and tedious
process to go through all the pages to edit the links (to newly added
pages) and add in the new pages etc... Is there any way to automate this process, with a script of some type
for example, but still be able to retain the look and feel of the
website as it is today? I've never done anything with scripts on web
pages before. I don't have a problem with the creation of the photos and the
thumbnails in Photoshop, it's just getting the html pages together to
put the photos into which is taking up all the time. Any suggestions?... Or should I just continue as I always have making
each html page manually?


There's a very nice PHP album called "Gallery". It is very practical,
and if one is familiar with PHP at all, one can easily customize the
look 'n feel. What I like about it is the JAVA up-loader one can
implement, which resizes and thumbnails on the fly, while uploading.
I'm fond of the slide show feature. The whole package is quite slick.

<http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pag ename=Download>
or TinyURL;
<http://tinyurl.com/6nzsl>

--
ATTENTION
This room is fullfilled mit special electronische equippment.
Fingergrabbing and pressing the cnoeppkes from the computers is
allowed for die experts only! So all the "lefthanders" stay away
and do not disturben the brainstorming von here working
intelligencies. Otherwise you will be out thrown and kicked
anderswhere! Also: please keep still and only watchen
astaunished the blinkenlights.
Jul 20 '05 #3

P: n/a
In article <41********@news.comindico.com.au>, fraser <fr**@nowhere.tv>
wrote:
Is there any way to automate this process, with a script of some type
for example, but still be able to retain the look and feel of the
website as it is today? I've never done anything with scripts on web
pages before.


iView Media Pro, excellent photo cataloging system now available for
both Windows and Mac, has a built-in template-based system for creating
HTML galleries.

You can select and organize the images you want by dragging and
dropping them in the catalog's thumbnail view window, then create the
entire gallery (index.html page, individual image pages, and associated
thumbnail and image copies, with associated text, all in their own
folder) with a single menu command. A number of standard gallery
templates come with the program, and it's fairly easy to create you own
custom template.

iView is retail software, not shareware, but is very well regarded, with
excellent cataloging, searching, editing, slide show creation and
projection, and other capabilities.
Jul 20 '05 #4

P: n/a
fraser <fr**@nowhere.tv> wrote in news:41********@news.comindico.com.au:
Hi,

I have a photo gallery with cat photos here http://mouserspage.cjb.net

From the beginning, I have been making each page of thumbnails, with a
separate page for each photo, entirely in plain html. Is there any way to automate this process


You might want to look at Web Album Generator:
http://www.ornj.net/software/webalbum/
"Web Album Generator is a free software application for
Windows 98, ME, 2000, XP or higher that helps you easily
create photo albums for the World Wide Web."
"Web Album Generator takes care of the dirty work, creating
the necessary JPG thumbnails, HTML and CSS files with strict
standards compliance."

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Jul 20 '05 #5

P: n/a
fraser <fr**@nowhere.tv> wrote in news:41********@news.comindico.com.au:
Is there any way to automate this process, with a script of some type
for example, but still be able to retain the look and feel of the
website as it is today? I've never done anything with scripts on web
pages before.


This particular issue motivated the first ever Perl script I wrote. It is
a small and simple script that requires you to prepare a template file.

You can see it in action at:

http://www.unur.com/cgi-bin/photobro...=cols3;rnd=yes

The source code for the script is available at:

http://www.unur.com/comp/photobrowser/photobrowser.txt

I can't promise a lot of support, but it is something to look at if you
are in a DIY mood.

--
A. Sinan Unur
1u**@llenroc.ude.invalid
(remove '.invalid' and reverse each component for email address)

Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.