Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow paste multiple watermarks #1007

Closed
Koc opened this issue Nov 17, 2017 · 2 comments
Closed

Allow paste multiple watermarks #1007

Koc opened this issue Nov 17, 2017 · 2 comments

Comments

@Koc
Copy link
Contributor

Koc commented Nov 17, 2017

Q A
Bug Report? no
Feature Request? yes
BC Break Report? no
RFC? no
Imagine Bundle Version latest

For now it is impossible insert multiple watermarks because filter name is key of the array.

@peter-gribanov
Copy link
Contributor

peter-gribanov commented Oct 11, 2018

You can solve this problem by creating a additional filter

services:
    liip_imagine.filter.loader.watermark2:
        parent: 'liip_imagine.filter.loader.watermark'
        tags:
            - { name: liip_imagine.filter.loader, loader: 'watermark2' }

and apply it

liip_imagine:
    filter_sets:
        my_watermark_filter:
            filters:
                watermark:
                    image: '../assets/images/watermark1.png'
                    position: 'topleft'
                watermark2:
                    image: '../assets/images/watermark2.png'
                    position: 'bottomright'

But this does not eliminate need to resolve the problem.

@dbu
Copy link
Member

dbu commented Oct 6, 2021

seems fixed in #1281

@dbu dbu closed this as completed Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants