9 lines
439 B
PHP
9 lines
439 B
PHP
<figure class="not-prose attachment attachment--preview attachment--{{ $remoteImage->extension() }}" @if ($gallery ?? false) data-trix-attributes='{"presentation":"gallery"}' @endif>
|
|
<img src="{{ $remoteImage->url }}" width="{{ $remoteImage->width }}" height="{{ $remoteImage->height }}" />
|
|
@if ($remoteImage->caption)
|
|
<figcaption class="attachment__caption">
|
|
{{ $remoteImage->caption }}
|
|
</figcaption>
|
|
@endif
|
|
</figure>
|