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

3 lines
112 B
PHP

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