I'm trying to get multiple image from public/img folder. The images that I'm trying to get is a result of multiple join table
$tayang=DB::table('detiltayang')
->join('tayang','detiltayang.idTayang','=','tayang.idTayang')
->join('bioskop','tayang.idBioskop','=','bioskop.idBioskop')
->join('film','tayang.idFilm','=','film.idFilm')
->where('detiltayang.flag','=','1')
->where('detiltayang.active','=','1')
->get();
return Response::json($tayang);
How can I get all the image that match the condition from public/img folder? thanks in advance