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 image to be mirrored based on condition true/false #627

Open
pardofelis opened this issue Dec 29, 2023 · 0 comments
Open

Allow image to be mirrored based on condition true/false #627

pardofelis opened this issue Dec 29, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pardofelis
Copy link

pardofelis commented Dec 29, 2023

Hi folks,
I hope you are allright and had a nice x-mas time.

Describe wanted Enhancement !
Currently, it is possible to

  • invert the color of an image or
  • set its color
    based on the given condition.
    However, it is only possible to "hard-set" the setting whether the image should be mirrored, regardless whether the condition is met.

Is it possible to make the "mirror" setting depending on the condition?

Why should we put effort in it ?
Because I ask nicely? 😏
I think, it could be a nice enhancement and prevents people from having to create two widgets or using two different images if they need to have different mirroring values. This should reduce the computing resources needed to show the webpage.
Also it further expands the possibilities to use the powerful widgets.

Many thanks for your time.

Sincerely pardofelis

EDIT:
Maybe, as a workaround / further enhancement, allow the css-class for the images to be set differently for each condition case. That way, mirroring, image size and other settings that are only available once per widget could be outsourced in the css-file without being needed to be implemented differently in your adapter.

@pardofelis pardofelis added the enhancement New feature or request label Dec 29, 2023
@github-project-automation github-project-automation bot moved this to To do in Progress Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

3 participants