Dreamweaver.getimagewidth(), Dreamweaver.getimageheight() – Adobe Dreamweaver API Reference CS5 User Manual
Page 57
52
DREAMWEAVER API REFERENCE
Photoshop integration
Last updated 8/27/2013
Arguments
Absolute local URL of the web image.
Returns
Pixel width of the original asset file.
dreamweaver.getImageWidth()
Availability
Dreamweaver CS4.
Description
This function evaluates and returns the pixel width of an image.
Arguments
Absolute local URL of a web image.
Returns
Pixel width of the image.
dreamweaver.getImageHeight()
Availability
Dreamweaver CS4.
Description
This function evaluates and returns the pixel height of an image.
Arguments
Absolute local URL of a web image.
Returns
Pixel height of the image.
dreamweaver.resolveOriginalAssetFileURLToAbsoluteLocalFilePath()
Availability
Dreamweaver CS4.
Description
This function resolves a file path to an original asset file (as it is stored in Design Notes). The path can be empty, site
relative, or absolute.
Arguments
Absolute local URL or site relative URL to the web image. This URL is required to resolve the site.