Use this code, this code is helpful for you.
<table class="table table-bordered"> <thead> <tr> <th>Image File</th> </tr> </thead> <tbody> @foreach ($data as $val) <tr> <td><img src="{{URL::asset('uploads/images/' . $val->file) }}" style="width:120px; height: 100px" /></td> </tr> @endforeach </tbody> </table>
set a fixed width and height that’s are help for you.
Question and answer is powered by AnsPress.io