How to use the lightbox inline? #1070
Replies: 6 comments
-
what do you mean by inline? |
Beta Was this translation helpful? Give feedback.
-
I meant having the photoswipe fill the parent div instead of the full
window.
…On Thu, Mar 2, 2023 at 1:48 AM Matt Barnicle ***@***.***> wrote:
what do you mean by inline?
—
Reply to this email directly, view it on GitHub
<#1070 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSLEVSBW3IUIBL3RGA2PDLW2BUHZANCNFSM6AAAAAAVFJID4Q>
.
You are receiving this because you authored the thread.Message ID:
<dromru/react-photoswipe-gallery/repo-discussions/1070/comments/5176894@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
@stonesthatwhisper, can you provide a link to photoswipe's "inline example"? I can't figure out what you are talking about. |
Beta Was this translation helpful? Give feedback.
-
Please look at an example from another package here:
https://yet-another-react-lightbox.com/plugins/inline
…On Thu, Mar 2, 2023 at 2:55 PM Roman Akhmadullin ***@***.***> wrote:
@stonesthatwhisper <https://github.com/stonesthatwhisper>, can you
provide a link to photoswipe's "inline example"?
I can't figure out what you are talking about.
—
Reply to this email directly, view it on GitHub
<#1070 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSLEVQRLFA3NOTXL2KDVM3W2EQNPANCNFSM6AAAAAAVFJID4Q>
.
You are receiving this because you were mentioned.Message ID:
<dromru/react-photoswipe-gallery/repo-discussions/1070/comments/5184081@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
How about using an iFrame? |
Beta Was this translation helpful? Give feedback.
-
@stonesthatwhisper, as far as I know, Photoswipe does not provide a way to open a gallery inside some container. It has appendToEl option, but this option only mounts gallery to some element, but gallery still will be opened for the whole screen. |
Beta Was this translation helpful? Give feedback.
-
I could not find an example of using this inline. Photoswipe has an inline example but it looks quite different from anything that works with react.
Beta Was this translation helpful? Give feedback.
All reactions