getting images' width/height
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17217
interpreted = N
texte = Does anybody know of a way within WebCat, or via AppleScript, to get thewidth and height of an image (jpeg and/or gif)?In the application I'm developing, the user selects an image from a[listfiles]-generated pulldown list as part of a form. The next page putsthat choice into a database for later use in rendering html pages. Fordisplay reasons, I need to include
height and width in these pages.Because I perform a number of calculations based on these values, they needto be kept in fields in the database as well. Currently the user has tospecify a height and width for the image, but I'd really like to be able toautomate this.FYI, a separate database with width and height for each image is not anoption: I would like to eliminate the need for a person to ever manuallyenter those numbers.Any ideas?o--------------- Dave MacLeay --+o----------- Digital Frontier --+o--- dave@digitalfrontier.com --+
Associated Messages, from the most recent to the oldest:
Does anybody know of a way within WebCat, or via AppleScript, to get thewidth and height of an image (jpeg and/or gif)?In the application I'm developing, the user selects an image from a
[listfiles]-generated pulldown list as part of a form. The next page putsthat choice into a database for later use in rendering html pages. Fordisplay reasons, I need to include
height and width in these pages.Because I perform a number of calculations based on these values, they needto be kept in fields in the database as well. Currently the user has tospecify a height and width for the image, but I'd really like to be able toautomate this.FYI, a separate database with width and height for each image is not anoption: I would like to eliminate the need for a person to ever manuallyenter those numbers.Any ideas?o--------------- 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:
Hiding HTML and breaking the page (1997)
WML (2000)
File not found error message (1998)
taxrate - off by 1 cent (1997)
2.0 Info (1997)
showif and cart (1997)
search engine friendly URLS (Mac) (1998)
More questions about serial number dishing (1997)
unique ascending numbers (2003)
WebMerchant/MacAuthorize (1998)
WebCat on Alpha? (1997)
Emailer Q (2002)
Webcat run amuk (2002)
webcat- multiple selection in input field (1997)
WebCatalog2 Feature Feedback (1996)
[WebDNA] How much does it cost now? (2008)
[WebDNA] OS X Server 5.04 Update (2015)
WebCat b13 CGI -shownext- (1997)
WebCatalog (1999)
How does the Globals folder work? (2000)