Performance Tips


If you followed above steps and performance of your gallery differs from PhotoSwipe home page, start isolating PhotoSwipe on page by excluding all JS/CSS/HTML code not related to it. Make sure that you don't have any kind of banner rotators that continuously run some animation behind the PhotoSwipe.

If it doesn't work fast even after you isolated PhotoSwipe – open an issue on GitHub and provide a link to reduced test case.

Including Files

Know how this page can be improved? Suggest an edit!

</> with <3 in by @dimsemenov