Re: Thumbnail images on-the-fly

2002-01-16 Thread Briac Pilpré

Scott R. Godin wrote:

> any pointers? I'm happy to toddle off and download and read my face off 
> -- that's not a problem.. I'd just like to have some indication on which 
> direction to start walking. :-)

Here are some "Pictures Gallery"-type modules that can be found on CPAN:
 Apache::Album: http://search.cpan.org/search?dist=Apache-Album
 HTML::PhotoAlbum: http://search.cpan.org/search?dist=HTML-PhotoAlbum
 Apache::PhotoIndex: http://search.cpan.org/search?dist=PhotoIndex

As for image manipulation tools, I use Image::Magick, which is really
powerful. The only drawback is that the learning curve is quite steep as
the documentation for this module can be hard to follow.

 http://www.imagemagick.org/
 http://search.cpan.org/search?dist=PerlMagick
 http://magick.net4tv.com/MagickStudio/scripts/advanced.cgi

 Good luck with your project!
 Briac

-- 
briac
 << dynamic .sig on strike, we apologize for the inconvenience >>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Thumbnail images on-the-fly

2002-01-16 Thread John Edwards

I think you'll need to look at the image magik module for creating the
thumbnails. I've looked at this in the past, and come away with headaches,
but I believe it's the right tool for the job. Good luck

John

-Original Message-
From: Scott R. Godin [mailto:[EMAIL PROTECTED]]
Sent: 16 January 2002 10:24
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Thumbnail images on-the-fly


I've got an idea kicking around in my head .. 

having a web-directory that can have image files added to it, taken 
away, or prefaced with "." to have them be ignored temporarily without 
removing them.

initial run of the .cgi indexes the directory into a local database 
file, and creates thumbnails of each image in the directory (havn't 
decided whether they should be variable size yet, as I'm not certain 
about the tool I'd need to use for this)

future runs of the .cgi double check the directory, match it against the 
database and create further thumbnails if necessary, or update the db to 
reflect images no longer listed, or marked with . as in "do not display"

upon updating, it then provides an html-page with the thumbnails laid 
out in a table for easy clicking by the user. 

This is pretty straightforward, and I'm sure it's been done in the past. 

What I'm looking for is a bit of a shove in the right direction from 
those of you who have walked this path before.. I've never worked with 
the graphical Perl modules yet, and am really unfamiliar with which 
tools (i.e. modules) would be the most elegant and efficient for a job 
like this. 

any pointers? I'm happy to toddle off and download and read my face off 
-- that's not a problem.. I'd just like to have some indication on which 
direction to start walking. :-)

print pack "H*",
"4a75737420416e6f74686572204d61635065726c204861636b65722c0d";
-- 
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox.
:-)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--Confidentiality--.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Thumbnail images on-the-fly

2002-01-16 Thread Johnathan Kupferer

Your choices are basically GD or Image-Magick I've had good experiences 
with both.  Image::Magick is more full featured but slower so if you're 
doing anything on the fly you should use GD, but if its just a one pass 
sort of thing (and I think that is what you're doing) then Image::Magick 
is better suited.  There are at least a couple online tutorials for both 
but I learned how to use them from O'Reilly's "Programming Web Graphics 
with Perl & GNU Software".  That book is starting to get dated since 
there have been some significant changes in the GD module regarding GIF 
support but its still a great reference.

- Johnathan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Thumbnail images on-the-fly

2002-01-18 Thread Scott R. Godin

In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Scott R. Godin) wrote:

Many thanks to all of you who responded. :-) One of the things I love 
the most about these lists  --  that one can get so many different 
perspectives on a problem and solution, because it gives one so much 
more of an idea of the scope of it.

print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b65722c0d";
-- 
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]