Skip to content

Lazy load post images#539

Open
ButteredCats wants to merge 1 commit intoredlib-org:mainfrom
ButteredCats:main
Open

Lazy load post images#539
ButteredCats wants to merge 1 commit intoredlib-org:mainfrom
ButteredCats:main

Conversation

@ButteredCats
Copy link
Copy Markdown
Contributor

The <image> items don't appear to be a real thing despite displaying the image, and they didn't support loading="lazy" so this basically just sets post images to always use the normal <img> tag and get rid of all the svg stuff that wasn't doing anything.

@dave0003
Copy link
Copy Markdown

dave0003 commented Apr 5, 2026

Compiled and tested. Seems to work fine for me.

It gets rid of the svg stuff for single images. For galleries, it's still the same (doesn't have the svg stuff to begin with).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants