iOS doesn't seem to support lazy loading

on my iPhone, Safari and Chrome wouldn't load with the `loading="lazy"` method specified.

Removing it fixes that -- I want to change it back for now, but then maybe figure out how to make it work on iOS
( I assume it is more resourceful to use lazy loading?)
This commit is contained in:
Patrick McGuire
2022-05-17 15:11:52 -04:00
committed by GitHub
parent ee675c4de2
commit f7ce7545ab
+2 -2
View File
@@ -282,13 +282,13 @@ if(isset($_GET['species'])){ ?>
echo "<tr>
<td class='relative'>$date $time<br>$confidence<br><img style='cursor:pointer' onclick='toggleLock(\"".$filename_formatted."\",\"".$type."\", this)' class=\"copyimage\" width=25 title=\"".$title."\" src=\"".$imageicon."\">
<a href=\"$filename\"><img loading=\"lazy\" src=\"$filename.png\"></a>
<a href=\"$filename\"><img src=\"$filename.png\"></a>
</td>
</tr>";
} else {
echo "<tr>
<td class='relative'>$date $time<br>$confidence<br>
<a href=\"$filename\"><img loading=\"lazy\" src=\"$filename.png\"></a>
<a href=\"$filename\"><img src=\"$filename.png\"></a>
</td>
</tr>";
}