Automatic thumbnail images

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19289
interpreted = N
texte = 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 Associated Messages, from the most recent to the oldest:

    
  1. RE: Automatic thumbnail images (Pat McCormick 1998)
  2. RE: Automatic thumbnail images (Pat McCormick 1998)
  3. RE: Automatic thumbnail images (Pat McCormick 1998)
  4. RE: Automatic thumbnail images (Pat McCormick 1998)
  5. Automatic thumbnail images (Pat McCormick 1998)
  6. Re: Automatic thumbnail images (Gary Richter 1998)
  7. RE: Automatic thumbnail images (Chris W. 1998)
  8. RE: Automatic thumbnail images (Rob Marquardt 1998)
  9. Re: Automatic thumbnail images (PCS Technical Support 1998)
  10. Re: Automatic thumbnail images (Howard Wolosky 1998)
  11. Re: Automatic thumbnail images (Dave MacLeay 1998)
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 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:

WC3 and SSL on NT (1998) New Site Announcement: MusicianStore.com goes live with (1998) [WebDNA] Foreign characters (2009) (2009) Quiz question: Return all green and blank records? (2001) return missing item (was:WebCat Sales) (1997) more ! testing (1997) Cart Number sequence (1997) Searching for all records (1998) Search bug. Help (2002) SIMS & WebCat .... Alias Folder (2002) [WebDNA] Numerous signal SIGSEGV then crashing - THANKS for the help (2016) Web Catalog 2 demo (1997) Calculating Age from DB fields (2003) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) emailer (1997) Clickable maps and WebCatalog? (1996) WebCat2: Master Counter snippet (1997) WebCat2 several catalogs? (1997) Problems appending to database (1997) remotely creating and populating a stock inventory db -almost there! (1999)