Click here to show or hide the menubar.

Templates for photo pages


Photo pages are now generated through templates.
The default template is here.
As with rivers, if you specify a urlTemplate attribute, we render with your template. Otherwise we use the default template.
Here's an example of a photo with a custom template. Look for the lyrics to a song below the picture.
worldOutlineSuite.data.urls.defaultPhotoTemplate
worldOutlineSuite.getOutlineText
worldOutlineSuite.getTemplateText
worldOutlineSuite.viewPhotoCallback
worldOutlineSuite.viewRiverCallback

Posted on Wednesday, December 21, 2011 at 9:05 AM by Dave Winer.