blob: b2e11e6f17e6b03f30239cb249f3dc2a7fb3e7b5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
class LargeVersion < Version
def initialize(photo)
super(photo, :large, "large_")
end
def adjust(image)
image.resize_to_fit(width: 570, height: 630)
image.watermark(photo.watermark) if photo.watermark.present?
end
end
|