Category : lightgallery

what should I put in the href="" the URL should be like this "#lg=1&slide=0" when clicking the image. not /uploads/identities/images.jpeg <div id="lightgallery" class="row"> <a href="/uploads/identities/{{ $verify->image}}" data-exthumbimage="/uploads/identities/{{ $verify->image }}" data-src="/uploads/identities/{{ $verify->image}}" class="col-lg-3 col-md-6 mb-4"> <img src="/uploads/identities/{{ $verify->image}}" alt="" style="width:100%;"> </a> <a href="" data-exthumbimage="/uploads/identities/{{ $verify->back_identity }}" data-src="/uploads/identities/{{ $verify->back_identity }}" class="col-lg-3 col-md-6 mb-4"> <img src="/uploads/identities/{{ $verify->back_identity }}" ..

Read more

Currently I have lightgallery which working perfectly, but when I import additional plugin to it "lg-zoom.js" I’m getting error "property ‘modules’ of undefined". In the functions.php I have: wp_enqueue_script(‘lightgallery’, get_template_directory_uri() . "/assets/vendor/lightgallery.min.js", array(‘jquery’), WEB_VERSION, false); wp_enqueue_script(‘lg-zoom’, get_template_directory_uri() . "/assets/vendor/lg-zoom.min.js", array(‘jquery’), WEB_VERSION, false); Sourc..

Read more