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

Get Api data and load second time without request image load small #67

Open
EbrahimPYK opened this issue Mar 17, 2018 · 3 comments
Open

Comments

@EbrahimPYK
Copy link

EbrahimPYK commented Mar 17, 2018

I first time load images with request , and after close and open gallery again , load image item without request , but in second time first image load small and with resize window ، image size ok done !

please help me

@jakubkowalczyk-pl
Copy link
Owner

Can you give link to this page?

@EbrahimPYK
Copy link
Author

http://wiki-trip.com/europe/turkey/bodrum/hotel/%D8%A8%D8%AF%D8%B1%D9%88%D9%85-%D8%A8%DB%8C%DA%86-%D8%B1%DB%8C%D8%B2%D9%88%D8%B1%D8%AA

for example in this page
click to a thumbnail in top section for open gallery. in this time ( first time ) that send request and get data , everything is ok! .
but if close gallery, and click to any thumbnail again , don't send request again , in this time , galley first image show small

@jakubkowalczyk-pl
Copy link
Owner

Solution 1: You can trigger resize event on window during opening gallery (after click on a thumbnail in top section).
Solution 2: You can use canClose parameter. Read more and see example http://jgallery.jakubkowalczyk.pl/documentation

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