How to display "image X Y" in Lua template for Lightroom web design?

I am creating a new "web engine" (i.e. gallery format) for Lightroom that uses Lua templates to generate HTML for gallery pages.

I have a guide for the SDK and Programmers Guide: http://www.adobe.com/devnet/photoshoplightroom/

But not one of the SDK documents, examples, and a guide for programmers gives me any hints about which variables I need to use to add, for example, "image 1 of 50" to the page title.

There are several objects, $model and $image , which I suspect will have this information: is there a way to dump the complete data contained in them like text / html, so I can output to HTML and find out which variable I want ?

Update: halfway ... the $index variable was found that provides the current image number, so now I just need to find out what / where is the full counter variable.

+4
source share
1 answer

See page 133 of the pdf manual for the variable "numImages". That's what you need?

0
source

All Articles