• 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.
20130128173800_add_css_styles_and_show_original_fields_to_photos.rb 234 Bytes