Re: Producing images in different sizes
| From: | php3 at developersdesk dot com | Date: | Sat, 27 Apr 2002 20:07:24 +0000 |
| Subject: | Re: Producing images in different sizes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94939@lists.php.net to get a copy of this message | ||
I think he already has the best solution. Store two images. How many
thumbnails are there on a page? At 1-2 seconds per image to resize how
long will you make every visitor wait to see the thumbnails?
Disk space is cheap. If you have to buy another drive - no big deal. I
don't know about you, but for me if a web page doesn't load in about 10-15
seconds I'm outa here!
Rick
** Reply to note from Miguel Cruz <mnc@stoic.net> Sat, 27 Apr 2002 11:36:54 -0500 (CDT)
>
> On Sat, 27 Apr 2002, Ray Paseur 703.346.0600 wrote:
> > I am storing several detailed images at about 400x400 pixels (inventory
> > for an art gallery). I show a page with thumbnails of the images. When
> > a site visitor clicks on a thumbnail, I open a separate window to
> > display the detailed image.
> >
> > Presently I am storing two copies of each image - full size and thumb.
> >
> > My objective is to store only one copy of each image - full size. (The
> > rationale behind this is a complicated story involving old gallery
> > owners, digital cameras, rudimentary image editing skills, etc.)
> >
> > I want the server to read the full size image, but resize it down to the
> > thumbnail size before sending it, thus saving transmission time.
> >
> > Are there any server-side applications that can handle this?
>
> You could use ImageMagick (particularly, the 'convert' program) to do this
> but decent results are not fast (not that it'll take several seconds or
> anything, but it does take a certain amount of time, and everything adds
> up).
>
> If you want to do this on the fly, I'd suggest having it save the
> thumbnails when they're generated so that the next time someone comes, it
> doesn't have to go through the process again.
>
> miguel
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com