Placement of 'image.php' and how to use Gallery addon
I see that for all the addons (Events and Blog, at least), the page functions will output content onto pages, but the links to individual items -- blog posts or event pages -- return 404 errors until you copy over the folders containing the starter templates (from the download zip files) into the site root. Then there is something when you click on a specific event or blog post item.
Gallery seems to work a little differently. I used perch_gallery_build() to output image thumbnails. Clicking a thumbnail caused a 404 with a URL dependent on an image.php being present at the site root.
Simply copying the folder named gallery from the addon download doesn't work, even though that's all I needed to do for all the other addons. I found a file named image.php in the subdirectory example-b in the gallery folder. After I copied that file into the the site root and hacked the include() function at the top to point to the runtime file from the site root instead of from two levels deep, clicking on an output image thumbnail finally works.
But this doesn't seem like the right way to use the gallery. I also notice that Events and Blog both have an option in the Settings were you can change their URL structure. Gallery has no similar option.
So, I'm curious what the intended structure for gallery pages is supposed to be.