module RailsGallery::ViewHelper::Slideshow
Public Instance Methods
slidegal_image(photo, options = {})
click to toggle source
# File lib/rails-gallery/view_helper/slideshow.rb, line 4 def slidegal_image photo, options = {} options.merge! alt: photo.path image_tag photo.thumb, options end
Also aliased as: slideshow_gallery_image
slidegal_imageset(photo, options = {})
click to toggle source
# File lib/rails-gallery/view_helper/slideshow.rb, line 9 def slidegal_imageset photo, options = {} options.merge! alt: photo.path options.merge! :srcset => photo.srcset if photo.srcset? imageset_tag photo.thumb, options end
Also aliased as: slideshow_gallery_imageset