2023-04-02 12:07:15 +00:00
|
|
|
<!-- $o=Binary\JpegPhoto::class -->
|
|
|
|
<table class="table table-borderless p-0 m-0">
|
|
|
|
<tr>
|
|
|
|
@foreach ($o->values as $value)
|
|
|
|
@switch ($x=$f->buffer($value,FILEINFO_MIME_TYPE))
|
|
|
|
@case('image/jpeg')
|
|
|
|
@default
|
|
|
|
<td>
|
2023-04-11 22:17:57 +00:00
|
|
|
<input type="hidden" name="{{ $o->name_lc }}[]" value="{{ md5($value) }}">
|
2023-04-02 12:07:15 +00:00
|
|
|
<img class="jpegphoto" src="data:{{ $x }};base64, {{ base64_encode($value) }}" />
|
|
|
|
|
|
|
|
@if($edit)
|
2023-04-11 22:17:57 +00:00
|
|
|
<br><span class="btn btn-sm btn-danger deletable d-none"><i class="fas fa-trash-alt"></i> @lang('Delete')</span>
|
2023-04-02 12:07:15 +00:00
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
@endswitch
|
|
|
|
@endforeach
|
|
|
|
</tr>
|
|
|
|
</table>
|