default size of full photo is 950

This commit is contained in:
Espen Antonsen 2009-07-28 01:25:36 +02:00
parent 4e9ff0b7a0
commit 6226fa71e7

View file

@ -103,7 +103,7 @@ class Photo < ActiveRecord::Base
img.thumbnail(210) do |thumb| img.thumbnail(210) do |thumb|
thumb.save APP_CONFIG[:thumbs_path] + self.album.path + "/" + self.id.to_s + "_preview" + self.extension thumb.save APP_CONFIG[:thumbs_path] + self.album.path + "/" + self.id.to_s + "_preview" + self.extension
end end
img.thumbnail(800) do |thumb| img.thumbnail(950) do |thumb|
thumb.save APP_CONFIG[:thumbs_path] + self.album.path + "/" + self.id.to_s + "_single" + self.extension thumb.save APP_CONFIG[:thumbs_path] + self.album.path + "/" + self.id.to_s + "_single" + self.extension
end end
end end