Adobe 65007312 - Photoshop Lightroom Programmer's Manual page 131

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

Advertisement

C
6: Writing a Web-engine Plug-in
HAPTER
model = {
...
}
3. To make this something the user can edit, add a corresponding control to one of the panel
descriptions in the
return {
...
views = {
...
}
IdentityPlate
Exports an identity plate as a PNG file, if the user chooses to use it.
During a Lightroom preview of the web gallery, the PNG file is always generated, to support a live update
of the model-defined property that controls identity-plate use. If the user chooses not to use an identity
plate, however, the PNG is not exported as part of any export, upload, or preview-in-browser operation.
Inputs
destination
enabledBinding
Example
The
appearance
["appearance.logo.cssID"] = ".logo",
["appearance.logo.display"] = false,
The
views
the Lightroom application):
myViewFactory:identity_plate {
value = bind "lightroomApplication.identityPlateExport",
enabled = bind "appearance.logo.display",
},
...
["appearance.body.background-color"] = "#ff0000",
["appearance.body.cssID"] = "body",
...
},
section of your information file (
views
...
myViewFactory.label_and_color_row {
bindingValue = "appearance.body.background-color",
title = "Background",
},
...
(string) The path to the published gallery to which to write the image file.
(string) The plug-in-defined entry in the data model that controls whether to export
the identity plate.
section of the model defines a
section of the model binds the property to the
galleryInfo.lrweb
properties:
logo.display
identityPlateExport
Web SDK manifest API 131
):
checkbox (defined by

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop lightroom sdk 3.0

Table of Contents