how to use light gallery in laravel?

  javascript, laravel, lightgallery, php

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 }}" alt="" style="width:100%;">
    </a>
</div>

please help me 🙁

Source: Ask PHP

LEAVE A COMMENT