Thread: Image resize
View Single Post
Old 03-29-2008, 12:35 AM   #1 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default Image resize

Well I'm working on a gallery for a client and he specifically stated he wanted the full images download and then resized to thumbnails. I was wondering how'd y'all would do it.

I though up the following two methods

Method 1: Use javascript to fetch the images width/height set the image elements and then set the src.

Method 2: use getimagesize() and set the height/width elements beforehand.
__________________
"What everyone seems to forget is that while knowledge certainly is something - it's the implementation of knowledge that brings power" - Andres Galindo.
TlcAndres is offline  
Reply With Quote