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

Photoswipe 5 and jquery #2095

Open
nanom1t opened this issue Apr 6, 2024 · 1 comment
Open

Photoswipe 5 and jquery #2095

nanom1t opened this issue Apr 6, 2024 · 1 comment

Comments

@nanom1t
Copy link

nanom1t commented Apr 6, 2024

Hi.

Please write an tutorial how to use Photoswipe 5 library with basic JavaScript and jQuery.

I've seen the documentation, but there are only examples with ES on website.

I can't use 'import PhotoSwipeLightbox from '/photoswipe/photoswipe-lightbox.esm.js';' just directly in browser because of errors.

Please help.

@Oleksandr-Dubiv
Copy link

Hi!
You can use UDM version of this plugin and there's also small manual you can follow. That worked great for my case too.
https://github.com/dimsemenov/PhotoSwipe/tree/master/dist/umd

Regards, Alex.

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