Forward deprecation of watermark processing
This commit is contained in:
parent
8021c81d53
commit
fa080dca01
1 changed files with 4 additions and 4 deletions
|
|
@ -165,10 +165,10 @@ class Screenshot < ApplicationRecord
|
||||||
# Returns the URL that links to a full-size screenshot image with a watermark
|
# Returns the URL that links to a full-size screenshot image with a watermark
|
||||||
def large_watermarked
|
def large_watermarked
|
||||||
if self.image.attached?
|
if self.image.attached?
|
||||||
self.image.variant(combine_options: {
|
self.image.variant(
|
||||||
gravity: 'SouthEast',
|
gravity: 'SouthEast',
|
||||||
draw: 'image Over 0,0 0,0 "public/logo/watermark.png"'
|
draw: 'image Over 0,0 0,0 "public/logo/watermark.png"'
|
||||||
}).processed
|
).processed
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue