Represents an image gallery page.
[Source]
# File lib/webgen/plugins/filehandlers/gallery.rb, line 93 93: def initialize( pagename, data, images ) 94: super( pagename, data ) 95: @images = images 96: end
Returns the thumbnail image tag for the gallery.
# File lib/webgen/plugins/filehandlers/gallery.rb, line 99 99: def thumbnail( attr = {} ) 100: @images.first.thumbnail( attr ) 101: end
[Validate]