photo/resources/views/components/thumbnail.blade.php

3 lines
118 B
PHP

<a href="{{ url('p/view',$id) }}" target="{{ $id }}">
<img class="p-3 w-100" src="{{ url('p/thumbnail',$id) }}">
</a>