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

SlideShow does not show next image if image put into cdn #42

Open
NetMoose opened this issue Jan 16, 2019 · 1 comment
Open

SlideShow does not show next image if image put into cdn #42

NetMoose opened this issue Jan 16, 2019 · 1 comment

Comments

@NetMoose
Copy link

Hi
My problem is similar to the issue #24
I'm use this gallery on site https://netmoose.ru but my images not hosted in this site. I put images in "spaces" (like s3 object storage) on digitalocean.com and get url from cdn.

Example:
Image 1: photo_2017-07-29_20-44-13.jpg
URL: https://netmoose.ams3.cdn.digitaloceanspaces.com/nigniaya_sinyachikha/photo_2017-07-29_20-44-13.jpg
Image 2: photo_2017-07-29_20-44-52.jpg
URL https://netmoose.ams3.cdn.digitaloceanspaces.com/nigniaya_sinyachikha/photo_2017-07-29_20-44-52.jpg

I write to page:

{{< gallery caption-effect="fade" >}} {{< load-photoswipe >}}

{{< figure width="345px" link="https://netmoose.ams3.cdn.digitaloceanspaces.com/nigniaya_sinyachikha/photo_2017-07-29_20-44-13.jpg" caption="1 image">}}
{{< figure width="345px" link="https://netmoose.ams3.cdn.digitaloceanspaces.com/nigniaya_sinyachikha/photo_2017-07-29_20-44-52.jpg" caption="2 image">}}

{{< /gallery >}}

I rebuild site. Gallery is showing thumbnails. I click on thumbnail, clicked image is shown, when I click on next button (or previous), I see empty photoswipe.

@wrapper
Copy link

wrapper commented Nov 22, 2019

I have the same issue, did you ever find a fix?

Edit: If anyone comes across this at some point, my issue was simply that the load photo swipe script was being called within the gallery tags which is incorrect

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