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

Panzoom buttons #282

Closed
Darq2016 opened this issue May 3, 2022 · 7 comments
Closed

Panzoom buttons #282

Darq2016 opened this issue May 3, 2022 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@Darq2016
Copy link

Darq2016 commented May 3, 2022

Hi!
I recently install Panzoom, but I can´t make the buttons for zoom in & zoom out appear over my image, just like in Quick Demo example.
What I´m missing?

quick-demo

@fancyapps
Copy link
Owner

Hi,

Sorry, I forgot to add info about this to the documentation. Basically, you have to add Controls plugin. Here is demo for React - https://fancyapps.com/docs/ui/panzoom/react - but it works the same for ES6. If you use CDN links, you need to upload the appropriate js and css files.

@fancyapps fancyapps added the documentation Improvements or additions to documentation label May 10, 2022
@Darq2016
Copy link
Author

Hello again!
I´m using Chrome (and no React), and can´t make it work. Is it Chrome or is it I´m bad coding?

@Darq2016
Copy link
Author

This is the whole stuff, not working.
Panzoom.zip

@fancyapps
Copy link
Owner

fancyapps commented May 11, 2022

It is as simple as this - https://jsfiddle.net/fvdxuoqe/ Simply include all neccessary files and initialize new Panzoom instance.

@Darq2016
Copy link
Author

Darq2016 commented May 11, 2022 via email

@fancyapps
Copy link
Owner

Thanks. I just wanted to add that v5 will provide a lot more functionality (rotate, flip, etc) and the toolbar will be much cooler :)

@Darq2016
Copy link
Author

Darq2016 commented May 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants