ashleydw / lightbox

A lightbox gallery plugin for Bootstrap
http://ashleydw.github.io/lightbox
MIT License
1.85k stars 1.3k forks source link

Bootstrap 3 with Laravel #279

Closed minedun6 closed 6 years ago

minedun6 commented 6 years ago

So I'm using laravel as a back end and I would like to use this plugin but I need my image/video to come from the backend instead of hard-coded url so what I did is the following <a data-remote="{{ route('videos.helper') }}" data-toggle="lightbox" data-title="Flores">Launch</a>

my controller returns the url properly but the problem is that instead of displaying an image/video, it just displays the url string. Am I missing something that I should be doin ?

ashleydw commented 6 years ago

For support you need to post your full example.