Luapage Data Types - Adobe 65007312 - Photoshop Lightroom Programmer's Manual

Mac
Hide thumbs Also See for 65007312 - Photoshop Lightroom:
Table of Contents

Advertisement

C
6: Writing a Web-engine Plug-in
HAPTER
Variable
includeFile()

LuaPage data types

These data types are defined:
imageProxy
exportFilename
rating
imageID
renditions
metadata
colorLabel
imageRendition
width
height
relPath
dir
Description
An execution-time function that allows a page to include another file using
runtime logic to specify which file. For example:
<html>
<body>
<h1>My web gallery</h1>
This is the grid.html file.
<BR>
Include a file using the include directive:
<%@ include file="subdir/foo.html" %>
<BR>
Include same file using the includeFile command:
<% includeFile( 'subdir/foo.html' ) %>
<BR>
Include a file that includes another file:
<% includeFile( 'file1.html' ) %>
</body>
</html>
An object that has these properties:
(string) The base name string of a JPEG that will be written to disk for this photo.
(number) The numeric rating for the image, or nil if it has no rating
(string) The
id_global
(array of object) An array of
photo.
(table) A table of metadata settings, based on the
(string) The localized text for a photo's
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.
string for this image.
imageRendition
objects for the renditions of this
colorLabel
LuaPage syntax 134
settings.
perImage
, such as "red", or nil.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop lightroom sdk 3.0

Table of Contents