default size of full photo is 950
This commit is contained in:
parent
4e9ff0b7a0
commit
6226fa71e7
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue