Pass the class type into the template for workability.
Added tumblr foto template, as a test.