• jak4's avatar
    Added to more fields to photo model: css_class and preview_type · 6db6c234
    jak4 authored
    Added config options for url, css_class and preview_type
    Added preview_link method to photo model. Will either use the provided ext_type or the preview_type in the database. If there is an exception this will be catched and the version :error_wrong_preview_version will be delivered.
    6db6c234
photo_gallery.rb.erb 2.45 KB