RE: Automatic thumbnail images
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19291
interpreted = N
texte = To be more specific, I want browsers to be able to upload any JPG or GIF,then have WebCatalog display a page showing the contents of the uploadfolder, using thumbnails.In other words, once a graphic is uploaded, can I display a thumbnail ofthat image by reducing the vertical and horizontal size parameters of theimage tag, and do so while preserving the proportions of the original img?> -----Original Message-----> From: Howard Wolosky [mailto:howardw@mmtsolutions.com]> Get Macromedia Fireworks to do that.> >I want to automatically make a thumbnail for each of several images on a> >server.> >> >Say I want the thumbnail max height to be 100 pix and width to be 80 pix.> >Images can be of any original height and width.> >> >How can I reduce the image so that both height and width are below the> >maximums and yet maintain the aspect ratio for the image (the ratio of> >height to width)> >> >The trick would be to know either how to get at the height and width info> >from the original file which could be GIF or JPEG, or have some> other tool> >that can report image information for use within HTML.> >> >Any Ideas?> >> >Pat> >> Howard Wolosky> ---------------------------------------------------------------> MMT Solutions - Specializing in Online Shopping Solutions> #160# 973-808-8644#160##160##160##160##160##160##160##160##160##160# http://www.safecommerce.com>
Associated Messages, from the most recent to the oldest:
To be more specific, I want browsers to be able to upload any JPG or GIF,then have WebCatalog display a page showing the contents of the uploadfolder, using thumbnails.In other words, once a graphic is uploaded, can I display a thumbnail ofthat image by reducing the vertical and horizontal size parameters of theimage tag, and do so while preserving the proportions of the original img?> -----Original Message-----> From: Howard Wolosky [mailto:howardw@mmtsolutions.com]> Get Macromedia Fireworks to do that.> >I want to automatically make a thumbnail for each of several images on a> >server.> >> >Say I want the thumbnail max height to be 100 pix and width to be 80 pix.> >Images can be of any original height and width.> >> >How can I reduce the image so that both height and width are below the> >maximums and yet maintain the aspect ratio for the image (the ratio of> >height to width)> >> >The trick would be to know either how to get at the height and width info> >from the original file which could be GIF or JPEG, or have some> other tool> >that can report image information for use within HTML.> >> >Any Ideas?> >> >Pat> >> Howard Wolosky> ---------------------------------------------------------------> MMT Solutions - Specializing in Online Shopping Solutions> #160# 973-808-8644#160##160##160##160##160##160##160##160##160##160# http://www.safecommerce.com>
Pat McCormick
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
webcatalog [date] bug (1999)
Generating unique SKU from [cart] (1997)
[OT] XServe OS (2007)
Fwd: virtual domain and [listfile] paths and aliases (1998)
Using EIMS instead of Emailer (1998)
Preventing Merchant Settling ? (1997)
[WebDNA] GETCHARS ... words? (2009)
Extended [Convertchars] needed (1997)
Orderfile Encryption (2007)
Updating a database once per day - An example (1998)
Re:2nd WebCatalog2 Feature Request (1996)
Form Weirdness (2002)
is your webDNA site 'froogle' ready ??? (2003)
PR: WebCatalog Affiliates Program Announced -- Share the (2000)
this year (2000)
Javascript Fields of Strawberry Roses and Green Bananas (2000)
Nesting [RAW] (1998)
[/application] error? (1997)
[WebDNA] Combining searches with blank and zero values? (2011)
[Webcat 2]Next (1997)