-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use links? #20
Comments
I have the same question, how to add URLs/links in the caption? |
There is an example in the demo, you can check the HTML file. <div class="pswp-gallery__item">
<a
href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/5/img-2500.jpg"
data-pswp-width="2500"
data-pswp-height="1668"
target="_blank">
<img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/5/img-200.jpg" alt="Demo image 4" />
</a>
<div class="pswp-caption-content">
Short caption with <a href="https://example.com" target="_blank">the link</a>.
</div>
</div>
|
When I use data separation, I use lightbox.loadAndOpen(1) to open the preview, how do I use the plugin |
Okay, I figured out how to do this:
So
|
Hey,
I have added some links into my caption but they don't show up. Are links not allowed?
The text was updated successfully, but these errors were encountered: