We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da95d8 commit 74a1fe3Copy full SHA for 74a1fe3
README.md
@@ -277,7 +277,11 @@ Options passed into `img()` are included as HTML attributes on the element. Some
277
```php
278
echo $image
279
->render()
280
- ->img(['!width' => false, '!height' => false]);
+ ->img([
281
+ 'class' => 'w-full',
282
+ 'alt' => 'Lorem ipsum',
283
+ '!src' => false,
284
+ ]);
285
```
286
287
<details>
@@ -287,8 +291,9 @@ echo $image
291
<img
288
292
class="lazyload w-full"
289
293
alt="Lorem ipsum"
290
- src="/images/cache/01.jpg/de828e8798017be816f79e131e41dcc9.gif"
294
data-src="/images/source/01.jpg"
295
+ width="3840"
296
+ height="2160"
297
>
298
299
</details>
0 commit comments