javascript - Exclude images from lightbox in "Photo Swipe Masonry" -
i using "photo swipe masonry" plugin (version 1.0.6) on wordpress 4.3.1. works perfect far.
but, have images have custom link external url(instead of stadard image). if click 1 of these images, opens url in new window. works expected. now, when click on standard image(no external url), lightbox opens , image displayed expected.
but now, when use prev/next buttons navigate through images , reach image custom link, got errormessage:
"the image not loaded" (in lightbox).
so, question is, how exclude images being added lightbox? maybe unique class ?
any highly appreciated.
many in advance of time.
regards, joe
i'm developer of plugin. sorry missing post. there no function built in sorry. need edit photoswipe code.
Comments
Post a Comment