 |
 |
Automatic thumbnail generating
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status:
Offline
|
|
Our server runs on Linux. I have created an image gallery, and now I would like to automate it by creating, and resizing images automatically. My ultimate goal is to dump all my images into one folder on the server, and then the server size the images to something like 640 x 480, then create thumbs and the image gallery itself. I got the image gallery down as a first step. Now I would like to work on the automatic thumbnail creating, and then the image sizing.
What programs can do sizing of images that could be added to our server?
It should be fast, and accessible through CLI. My thoughts are to just add the thumbnail generating commands to the PHP script running the gallery using "system()" function.
Thank you,
t
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2001
Location: somewhere
Status:
Offline
|
|
Do you want thumbnails for ease of display, or for bandwidth considerations? If you only want it for ease of display, then use the height and width properties of the img tag. Many browsers will scale the image to fit the size you give it.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status:
Offline
|
|
wallinbl has a good point, by actually creating thumbnails manually the file size stays low, remember those of us still using our 14.4 k modems.
Photoshop ( from version 6 anyway ) has a really good batch automation feature, once you've got it running you can go get a coffee and return to see all the hard work done.
|
|
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
not tried it yet, but suggested to me by a friend: Gallery
Provides users with the ability to create and maintain their own photo albums with automatic thumbnail generation, image resizing, rotation and more
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status:
Offline
|
|
I do want to have control over what I do, and actually be able to do it.  thank you for the gallery links though.
I guess NetPBM is an option, but is there anything out there that is easier to use, or any competitions to it?
Thank you,
t
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
Got a nasty deadline so can't type for long,
...but PHP has a great set of image manipulation functions. One that I'm using now is the imageCopyResampled which, in conjunction with GD 2.0.4, allows for smooth bicubic resizing of JPEGs or PNGs.
The results are lovely - check out the PHP ( www.php.net) page for more info
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|