03-29-2008, 10:41 AM
|
#3 (permalink)
|
|
The Acquainted
Join Date: Oct 2007
Posts: 170
Thanks: 18
|
What I usually do is:
- The user uploads a picture to the server (with my CMS)
- CMS creates a thumbnail from original picture (GD library)
- Save both pictures (original and thumb) on the server
- Put all picture information in the database (like the new width and height of the thumbnail)
- Now for the gallery: read out the
image table from the database and show the thumbnails - with their widths/heights - on the page!
Hope this is any helpful.
|
|
|
|