lib/fiona7/scrivito_patches/binary.rb in infopark_fiona7-1.1.0.0.8 vs lib/fiona7/scrivito_patches/binary.rb in infopark_fiona7-1.1.0.0.9
- old
+ new
@@ -174,10 +174,10 @@
image.combine_options do |b|
b.resize "#{self.width}x#{self.height}>"
end
elsif self.fit == 'crop'
image.combine_options do |b|
- b.resize "#{self.width}x#{self.height}>"
+ b.resize "#{self.width}x#{self.height}^"
b.gravity "center"
b.extent "#{self.width}x#{self.height}>"
end
else
raise 'invalid fit'