I'm creating a new web engine, and I want to put the current image number into the page header and window title.
I've downloaded both the SDK and Programmers Guide but none of the SDK docs, examples, nor the PDF are giving me any hint of what variables I need to use for this.
I'm guessing $model might have total number and $image would have individual position, but I've got no way of knowing that the actual variable names are.
Is there a Lua command to dump these items out as HTML, or any documentation listing what values they contain?
Any other suggestions on how to achieve what should be an incredibly simply task?
ok, so $index provides the individual image number, but I still need to find where the total number of images in the gallery is stored.