Re: getting images' width/height
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17245
interpreted = N
texte = Thanks, Christer. That's exactly the sort of solution I was looking for.At 3:33 AM 4/24/98, Christer Olsson wrote:>>Does anybody know of a way within WebCat, or via AppleScript, to get the>>width and height of an image (jpeg and/or gif)?>>Get clip2gif from your favourite InfoMac mirror and embed an Applescript like:>>tell application clip2gif> set f to YourFilePathHere> set m to measure f> set width to item 1 of m> set height to item 2 of m>end tell>>in your [Listfiles context]. A good idea is to put a check for filetype>somewhere.> *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Art director S-211 37 Malmoe Fax +46 40 97 99 77> Ljusa Ideer AB Sweden http://www.ljusaideer.seo--------------- Dave MacLeay --+o----------- Digital Frontier --+o--- dave@digitalfrontier.com --+
Associated Messages, from the most recent to the oldest:
Thanks, Christer. That's exactly the sort of solution I was looking for.At 3:33 AM 4/24/98, Christer Olsson wrote:>>Does anybody know of a way within WebCat, or via AppleScript, to get the>>width and height of an image (jpeg and/or gif)?>>Get clip2gif from your favourite InfoMac mirror and embed an Applescript like:>>tell application clip2gif> set f to YourFilePathHere> set m to measure f> set width to item 1 of m> set height to item 2 of m>end tell>>in your [Listfiles context]. A good idea is to put a check for filetype>somewhere.> *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Art director S-211 37 Malmoe Fax +46 40 97 99 77> Ljusa Ideer AB Sweden http://www.ljusaideer.seo--------------- Dave MacLeay --+o----------- Digital Frontier --+o--- dave@digitalfrontier.com --+
Dave MacLeay
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:
FW: Shipping calculations (1997)
notification solutions (1997)
New 4.5 installer (2002)
Sensations (1997)
Date Formats (1997)
Using Plug-In while running 1.6.1 (1997)
Security Question (1997)
HomePage Caution (1997)
Re:no [search] with NT (1997)
WebCatalog for Dummies p.1 (2000)
WebTen and WebCat (1997)
Missing from Docs [folderName] (1997)
Here we go again... (2006)
Showif, Hideif reverse logic ? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Who is doing sign-ups-got it (1998)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
Caching [include] files ... (1997)
WebCatalog 4.0 Users that want to talk to the Media.... (2000)
Late on Friday.... brain fried (2002)