question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manipulating PhotoSwipeUI_Default

See original GitHub issue

I don’t see any API for manipulating PhotoSwipeUI_Default Most of all I have no idea how to translate the share buttons and add more.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ivandotvcommented, Jan 15, 2015

Ok, although it seems confusing, because you are passing PhotoSwipeUI_Default to the instance, and in order to modify the ui your are passing the modifications to the options object, as opposed to PhotoSwipeUI_Default , which I was trying to do. Thanks.

0reactions
dimsemenovcommented, Jan 15, 2015

thanks, I’ve added some clarifications to documentation options page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started - PhotoSwipe
PhotoSwipe requires predefined image dimensions, you must define the width and height of each image. PhotoSwipe is not designed to display very large...
Read more >
Photoswipe UI Default is not defined - Stack Overflow
I've been able to get PhotoSwipe working with images shown in thumbnails using different external, more complicated, javascript, but for some ...
Read more >
PhotoSwipe Documentation: Getting Started
pswp element from step 2 (it must be added to DOM). PhotoSwipe UI class. If you included default photoswipe-ui-default.js , class will be...
Read more >
window.PhotoSwipe is undefined - WordPress.org
Hi. On my local development version everything works as expected, but in staging and production, the click event listener is never added because...
Read more >
PhotoSwipe.js simplify by the VanillaJS. - GitHub Pages
You can install it using npm: ... <script src="path/to/photoswipe-ui-default.js" charset="utf-8"></script>; <script src="path/to/photoswipe-simplify.js" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found