[ciapug] images

David Champion dchampion at visionary.com
Thu Aug 3 12:44:17 CDT 2006


I would resize the image at upload time (using something like what Tony 
posted). Be careful of aspect ratio - the uploader I've used (in 
vbscript - sorry) would let you specify the vertical limit, then scale 
to keep the aspect ratio.

End users typically don't know / don't care about image sizes and such - 
they'll upload full resolution images from their shiny new 7mp camera, 
then complain when they take too long to load.

-dc

Dave J. Hala Jr. wrote:
> I'm working on a site for dog adoptions. I'd like to track some basic
> information about the dog along with its photo. An admin will upload a
> image and type in the basic information. The home page will look in the
> database and display the dogs bio for the all the homeless dogs.
>  
> My concern is regarding the image of the dog. What I want to avoid is
> having to deal with a bunch of oddly sized images, etc.  I'm considering
> putting together some criteria for the admin to use when uploading the
> image. I was considering forcing the image size using the height and
> width tags in my html. My concern is that it still leaves a lot of room
> for an admin to do some bad things.
> 
> Anyone have any thoughts/experience on this issue?
> 
> :) Dave
> 




More information about the ciapug mailing list