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

Caman filters not applying to the image until zoom #28

Open
joshuastegmaier opened this issue Oct 13, 2022 · 1 comment
Open

Caman filters not applying to the image until zoom #28

joshuastegmaier opened this issue Oct 13, 2022 · 1 comment

Comments

@joshuastegmaier
Copy link

joshuastegmaier commented Oct 13, 2022

I'm currently attempting to use the demo code, slightly modified, to test out this plugin, and I'm having an issue with all of the Caman filters.

While the non-Caman filters work as expected, the Caman filters don't render on the image until a zoom is performed. This happens even when adding a non-Caman filter after a Caman one--until zoomed, the image is rendered with all of the non-Caman filters, but none of the Caman ones.

Also, only the last Caman filter is applied when rendering, if more than one is selected.

My current code (again, a slightly modified version of the demo code) is here: https://github.com/LibraryOfCongress/concordia/blob/image-filtering/concordia/static/js/image-filtering.js

What could be the cause of this rendering issue?

@daling5248
Copy link

I'm trying to solve it this way         loadMode: "async",

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

2 participants