Skip to content

Commit 69df6de

Browse files
committed
Avoid invalid image request in Firefox (adjustments for PR orchidsoftware#3061)
1 parent 12db4f0 commit 69df6de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

resources/views/fields/attach.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ class="attach"
5656
<input type="hidden" name="{name}" value="{id}">
5757

5858

59-
<img class="attach-image rounded border user-select-none overflow-hidden" src="{url}" title="{original_name}"/>
59+
<img class="attach-image rounded border user-select-none overflow-hidden"
60+
src="{url}"
61+
loading="lazy"
62+
title="{original_name}"/>
6063

6164
{{--
6265
<object class="attach-image rounded border user-select-none" border="0" data="{url}" type="{mime}" title="test" load="lazy" controls allowfullscreen autoplay="false">

0 commit comments

Comments
 (0)