Method: SpudPhoto#dynamic_styles
- Defined in:
- app/models/spud_photo.rb
#dynamic_styles ⇒ Object
27 28 29 30 31 32 33 |
# File 'app/models/spud_photo.rb', line 27 def dynamic_styles admin_styles = { spud_admin_small: { geometry: '125x125#', format: :jpg, source_file_options: '-density 72', convert_options: '-strip -quality 85' }, spud_admin_medium: { geometry: '300x200', format: :jpg, source_file_options: '-density 72', convert_options: '-strip -quality 85' } } admin_styles.merge(Spud::Photos.config.photo_styles) end |