[thelist] Also Graphics Related

Bob Fowler bob at rjf.ca
Thu Jan 3 10:38:50 CST 2002


Although this won't help with your problem (A free Image component), I am
currently using ASPImage to do exactly what you want.

On my personal site, I like to be able to just drop new photographs into a
directory and let the code handle all of the resizing etc..  I have found
however, that even on such a small scale, ASPImage is not suitable for doing
dynamic resizing of more than 20 images at a time.  CPU usage on a P3 1Ghz
server is almost 100% utilization while it is doing the resizing, and the
download time is substantially slower than for static thumbnails.

The solution I found, is to use the FileSystem Object in ASP to check for
the existence of thumbnails in a predetermined subdirectory (./_thumbnails).
If the thumbnails exist, the script will use those, otherwise, it will do
the dynamic resizing and send the thumbnails to the client and save them in
the specified directory.

Using this method, the thumbnail generation is still automatic, but will
only run once for each new image. You can see it in action at:

One question I do have however, is how are you able to extract the title and
description information?  Were you able to get that info from the
SummaryInformation NTFS Stream?


----- Original Message -----
From: "Salvatore Palmisano" <spalmisano at usashs.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, January 03, 2002 9:52 AM
Subject: RE: [thelist] Also Graphics Related

> No you didnt misunderstand, I do have PS6 and currently use it to manually
> create thumbnail images.
> What Id like to find is something that'll do it server-side so I dont have
> to maintain two sets of images (thumbs and originals).
> All I want to do is place an image in the appropriate directory and have
> ASP do the rest. Currently ASP *does* do all the rest; it creates the
> for the thumb display, grabs whatever image the user clicks on, and
> the title and description of the image...all its missing is to create the
> thumbnails on the fly.
> There's no user-upload going on and we're not talking about hundreds of
> images (its just a family photoalbum), so Im not too worried about the
> server load.
> The album is at http://palmisanonet.com if you want to see what Im talking
> about.
> Thanks.
> --Salvatore
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of aardvark
> Sent: Wednesday, January 02, 2002 4:40 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Also Graphics Related
> i hate to sound like a dolt on this, but why would you make the
> server do the image manipulation instead of automating it in
> Photoshop (or ImageReady)?  i'm working on the assumption that
> you have PS (based on previous posts, but i do confuse easily)...
> i say this because this ASP function just seems like too much
> work for the server to do... either it resizes the image *every* time
> (which would be silly), or it does it once when requested, meaning
> they all get resized within your testing timeframe (and you still have
> different directories full of images)...
> so why make the server do it, where you lose control over the
> image quality and where it throws extra stress on the server that
> can be done elsewhere?
> i can understand it if you want people who are web-dull to be able
> to upload a photo and have the system automagically create all the
> different thumbnail sizes it needs, but this is for your personal site...
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list