diff --git a/web/templates/photo/gallery.html b/web/templates/photo/gallery.html index c4a971c..093333f 100644 --- a/web/templates/photo/gallery.html +++ b/web/templates/photo/gallery.html @@ -945,7 +945,13 @@ // Log a view of this photo. markImageViewed(photoID); - }) + }); + + // Images: count a mouseover as a view to be on par with videos, otherwise + // videos climb to the top of the most viewed list too quickly. + node.addEventListener("mouseover", (e) => { + markImageViewed(photoID); + }); }); });