Increased size of modal, added description as caption to photos
This commit is contained in:
parent
bea55454b2
commit
3bf54f991a
7 changed files with 22 additions and 8 deletions
|
|
@ -3,7 +3,7 @@ class Photo < ActiveRecord::Base
|
|||
belongs_to :conference
|
||||
validates_presence_of :picture
|
||||
has_attached_file :picture,
|
||||
styles: { thumb: "100x100>", large: "300x300>", banner: "500x300>" }
|
||||
styles: { thumb: "100x100>", large: "300x300>", banner: "600x300>" }
|
||||
|
||||
validates_attachment_content_type :picture,
|
||||
content_type: [/jpg/, /jpeg/, /png/, /gif/],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue