Adobe 65007312 Programming Guide - Page 134
Lua data types, Variable, Description
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 134 highlights
CHAPTER 6: Writing a Web-engine Plug-in LuaPage syntax 134 Variable includeFile() Description An execution-time function that allows a page to include another file using runtime logic to specify which file. For example: My web gallery This is the grid.html file. Include a file using the include directive: Include same file using the includeFile command: Include a file that includes another file: LuaPage data types These data types are defined: imageProxy An object that has these properties: exportFilename (string) The base name string of a JPEG that will be written to disk for this photo. rating (number) The numeric rating for the image, or nil if it has no rating imageID (string) The id_global string for this image. renditions (array of object) An array of imageRendition objects for the renditions of this photo. metadata (table) A table of metadata settings, based on the perImage settings. colorLabel (string) The localized text for a photo's colorLabel, such as "red", or nil. imageRendition width height relPath dir An object that represents an image rendition for a photo. It has these properties: (number) The width in pixels. (number) The height in pixels. (array of string) An array of directory names, in which the last entry is the file name. (array of string) An array of directory names.