Addressed to: Miguel Cruz <[EMAIL PROTECTED]> [EMAIL PROTECTED]
** Reply to note from Miguel Cruz <[EMAIL PROTECTED]> Sat, 27 Apr 2002 19:11:46 -0500 (CDT) > > I'm guessing the issue is that it complicates the process of adding new > images, because someone has to create and upload two corresponding files. > > This way, they get the benefit of rapid page generation combined with a > simpler administration process. > > miguel > Who said anything about UPLOADING two images? My understanding of the question was that he wanted to: "store only one copy of each image - full size." and "resize it down to the thumbnail size before sending it," IMnsHO, that's crazy, unless you have a very large number of images with very few repeat visits to their thumbnail pages. I agree, it is just as crazy to expect the user to do the thumbnail creation. ImageMagick does a great job of this, but it should be done when the file is uploaded, not every time an image needs to appear on a thumbnail page. It might not be that bad with 400X400 initial files, but resize time on my server for a mega-pixel JPEG from my digital camera is about 10-40 seconds which you might get a photo uploader to sit thru, but way too long for a visitor to your site. Rick > On Sat, 27 Apr 2002 [EMAIL PROTECTED] wrote: > > 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 <[EMAIL PROTECTED]> 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 > > > > -- > > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php