mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Lazy load images (#4228)
* Add lazy loading for many images * Load sprites on first hover of scrubber
This commit is contained in:
@@ -85,6 +85,7 @@ export const GridCard: React.FC<ICardProps> = (props: ICardProps) => {
|
||||
if (props.interactiveHeatmap) {
|
||||
return (
|
||||
<img
|
||||
loading="lazy"
|
||||
src={props.interactiveHeatmap}
|
||||
alt="interactive heatmap"
|
||||
className="interactive-heatmap"
|
||||
|
||||
Reference in New Issue
Block a user