Home  |  Linux  | Mysql  | PHP  | XML
From:Greg Jetter Date:Sun May 10 18:46:44 2009
Subject:Re: Web photo album, is this possible in CGI
On Saturday 09 May 2009 7:43:45 pm Adam Jimerson wrote:
> Hi all,
>
> I am wanting to put something together where every time the script executes
> it looks into a set directory for photos and then builds a web page with
> those photos, or even a enlargeable thumbnail of the photo, in kind of a
> photo album way. I don't know if something like this can be done in CGI or
> not, and figure I would ask and see what everyone here says before I give
> it a try, if it is possible maybe someone would have any tips or pointers
> that would be helpful.

photo albums are a common CGI application , I think there may be some CPAN
modules all ready written that handle lots of stuff for you.

Writing one from scratch is a good learning experience , You can take a
modular approach or do a monolithic script .

Some stuff you might want to include is a template system like HTML::Template
and Image magick or perl magick image manipulation programs , to do stuff
like resize images making thumbs of full size images.

a lot of code is out on the net , do a search to start out and you will see
the diffrent approaches to this.

A lot depends on your server , and what they will permit . If you have
control then you can do just about anything CGI wise.


good luck

Greg

Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
Price comparison-agent
Re: Storing a file from a cgi parameter
Dumping vars from CGI with Data::Dumper (2)
Re: script working from shell, but not from browser.
Good news!



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants