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

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -