mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Lazy load all images to increase page load times (references #275)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<strong>{{ $__t('Spoil rate') }}:</strong> <span id="productcard-product-spoil-rate"></span>
|
||||
|
||||
<h5 class="mt-3">{{ $__t('Product picture') }}</h5>
|
||||
<p class="w-75 mx-auto"><img id="productcard-product-picture" src="" class="img-fluid img-thumbnail d-none"></p>
|
||||
<p class="w-75 mx-auto"><img id="productcard-product-picture" data-src="" class="img-fluid img-thumbnail d-none lazy"></p>
|
||||
<span id="productcard-no-product-picture" class="font-italic d-none">{{ $__t('No picture available') }}</span>
|
||||
|
||||
<h5 class="mt-3">{{ $__t('Price history') }}</h5>
|
||||
|
Reference in New Issue
Block a user