/*
To quickly generate image pages from galleries, you can use AutoAnimate:
https://codepen.io/fapnip/full/abLOyPE
1. In AutoAnimate, paste in the tease URL with galleries you
want to create image pages for
2. Select the gallery you want pages for.
3. Select "Execute JavaScript" for the "after animation ends"
option
4. Enter "backPage()" in the text box that shows up below it.
5. Switch on "Show features you probably don't want"
6. Enable "Break animation by removing timers, animation
scripts, etc."
7. Optionally enable "Don't nest animation in an IF".
For multiple images per page, you may want to leave
this disabled.
8. If you'd like to have multiple images per page,
Enable the "Put each image in an IF [expression]===[index]
action" option as well.
9. If you have NOT enabled "Put each image in an
IF [expression]===[index] action" you MUST set the split
level to 1 for 1 image per page image sets
(*** Use the icon just to the left of the trash can
under the preview pane to set split level. ***)
10. Enter an applicable page prefix, like "zzz-img-modelName"
11. Select "Add Animation to Tease"
12. Click the blue button to download the JSON
13. In Eos, restore JSON to a new tease or backup your
original and restore JSON to existing tease.
14. Add var myImageSet = buildSetArray(...) lines to
your init script and use them
(see below for examples)
Yeah, it looks like a lot of steps. It's really not that hard.
*/