Commit 025f0a87 authored by arnaudbey's avatar arnaudbey

lazy loading

parent 64c00698
......@@ -31,7 +31,7 @@
<div class="col-2 mb-4">
<div class="card border-light text-white bgblack fiche" data-name="{{fiche.name}}">
<a class="text-white" href="{{ path('display_fiche', {'boite': boite.name, 'fiche': fiche.name}) }}">
<img src="{{ asset("img/numerisations/thumbnails/")}}{{fiche.image}}" class="card-img-top" alt="...">
<img loading="lazy" src="{{ asset("img/numerisations/thumbnails/")}}{{fiche.image}}" class="card-img-top" alt="...">
<div class="card-body">
{{fiche.name}}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment