You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-commits@incubator.apache.org by sh...@apache.org on 2009/11/19 19:34:32 UTC
svn commit: r882259 - /incubator/olio/webapp/rails/trunk/app/models/image.rb
Author: shanti
Date: Thu Nov 19 19:34:32 2009
New Revision: 882259
URL: http://svn.apache.org/viewvc?rev=882259&view=rev
Log:
Partial fix for OLIO-122. Reduced thumbnail size to 120x120
The person sizes are now 17K (reduced from 66K), and the event
sizes are 12K (reduced from 45K) but still too large.
Modified:
incubator/olio/webapp/rails/trunk/app/models/image.rb
Modified: incubator/olio/webapp/rails/trunk/app/models/image.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/models/image.rb?rev=882259&r1=882258&r2=882259&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/models/image.rb (original)
+++ incubator/olio/webapp/rails/trunk/app/models/image.rb Thu Nov 19 19:34:32 2009
@@ -38,7 +38,7 @@
has_attachment :content_type => :image,
:storage => :file_system,
:max_size => 1.megabytes,
- :thumbnails => { :thumb => '250x250>' },
+ :thumbnails => { :thumb => '120x120>' },
:path_prefix => IMAGE_STORE_PATH
validates_uniqueness_of :filename