Further compressed the landing page image to make it really light.

This commit is contained in:
alexs
2013-08-15 11:34:48 +10:00
parent bdc8387346
commit d3842b2d8d

View File

@@ -1,7 +1,7 @@
class LandingPageImage < ActiveRecord::Base
attr_accessible :photo
has_attached_file :photo, styles: { max_common_res: ["1920x1080#", :jpg] },
:convert_options => { max_common_res: "-quality 75" }
:convert_options => { max_common_res: "-quality 25" }
validates_attachment_presence :photo