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

Issue with .PNG image #43

Open
omkadam251 opened this issue Sep 28, 2020 · 1 comment
Open

Issue with .PNG image #43

omkadam251 opened this issue Sep 28, 2020 · 1 comment

Comments

@omkadam251
Copy link

Hello,
I am trying this on both .JPEG and .PNG image and on .JPEG images it it working fine but on .PNG images it is not working.
can you tell why?

@jackmoore
Copy link
Owner

Hi @omkadam251

The script wouldn't care about what the image type is, as long as it's something the browser can display. My guess is that there is an error in the way wheelzoom has been applied. I'd double check that the PNG image elements have their src set to the PNG (that the PNG is not being used as a background-image) and that object your are passing into wheelzoom actually contains the elements you want to target.

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