Forward deprecation of watermark processing

This commit is contained in:
Christoph Haas 2020-10-20 19:49:38 +02:00
parent 8021c81d53
commit fa080dca01

View file

@ -165,10 +165,10 @@ class Screenshot < ApplicationRecord
# Returns the URL that links to a full-size screenshot image with a watermark
def large_watermarked
if self.image.attached?
self.image.variant(combine_options: {
gravity: 'SouthEast',
draw: 'image Over 0,0 0,0 "public/logo/watermark.png"'
}).processed
self.image.variant(
gravity: 'SouthEast',
draw: 'image Over 0,0 0,0 "public/logo/watermark.png"'
).processed
end
end
end