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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue