chg: [favicon] favicons by daterange, lazy loading

This commit is contained in:
terrtia 2024-10-03 14:08:02 +02:00
parent 970a169270
commit dd32604b7b
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -145,7 +145,7 @@
<tr> <tr>
<td> <td>
<a target="_blank" href="{{ url_for('correlation.show_correlation') }}?type=favicon&id={{ obj_id }}"> <a target="_blank" href="{{ url_for('correlation.show_correlation') }}?type=favicon&id={{ obj_id }}">
<img class="object_image mb-1" src="{{ url_for('objects_favicon.favicon', filename=dict_objects[obj_id]['img'])}}"> <img class="object_image mb-1" src="{{ url_for('objects_favicon.favicon', filename=dict_objects[obj_id]['img'])}}" loading="lazy" style="max-width: 100px">
{{ dict_objects[obj_id]['id'] }} {{ dict_objects[obj_id]['id'] }}
</a> </a>
</td> </td>