webpics now uses orientation data to orient pics properly.  Need to use text/template because html/template thinks my use of the template-inserted data inside a tag is unsafe.  The rotations cause a bug in zoom modal sizing though.