• jak4's avatar
    Added to more fields to photo model: css_class and preview_type · c46bac17
    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.
    c46bac17
photo_gallery.rb.erb 2.49 KB