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

The thumbnail can not get the correct photo when the photo use lazyload #49

Closed
jerryc127 opened this issue Aug 7, 2021 · 1 comment
Closed

Comments

@jerryc127
Copy link

The thumbnail can not get the correct photo when the photo use lazyload

I use the loading photo

image

@fancyapps
Copy link
Owner

Hi,

First, It just not possible to help you with such little information.

Maybe try using the data-thumb attribute for links, example:

<a
  href="image.jpg"
  data-fancybox="gallery"
  data-thumb="thumbnail.jpg"
>
  ...
</a>

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