sachinchoolur / lightgallery.js

Full featured JavaScript image & video gallery. No dependencies
https://sachinchoolur.github.io/lightgallery.js/
Other
5.3k stars 596 forks source link

Problem with src using owl-carousel and lightGallery #127

Closed Heldegar closed 3 years ago

Heldegar commented 5 years ago

Hello i want to use owl-carousel and lightGallery but i got this : zeze with the error : "lightGallery :- data-src is not pvovided on slide item 27. Please make sure the selector property is properly configured"

<div id="selector1" class="owl-carousel owl-theme">

       <?php while ($row = mysqli_fetch_array($queryycf))  

            {
                $miniature=$row['photominiature'];
               echo'<div class="item"><a href="'.$miniature.'"> <img class="img-fluid" src="'.$miniature.'"></a></div> ';
            }
        ?>
        </div>

Do you got any issues ? thanks a lot !

egerb commented 5 years ago

Try add to you tag attribute data-src. If doesn't work, try manually set selector for lightgallery using {selector}.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. If the issue is still valid for version 2.x, please re-open. Apologize for not responding on time. Thank you for your contributions.