Feature #36294

Lazy load inline images

Added by Mizuki ISHIKAWA 7 months ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Performance
Target version:5.0.0
Resolution:Fixed

Description

Set lazy: loading for images and thumbnail images that Redmine will display as follows:
<img src="image.jpg" alt="..." loading="lazy">

lazy loading document: https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading
It can be displayed more quickly, for example, when a issue has many comments and many images are displayed.

feature-36294.patch Magnifier (8 KB) Mizuki ISHIKAWA, 2021-12-09 02:29

Associated revisions

Revision 21313
Added by Go MAEDA 7 months ago

Lazy load inline images (#36294).

Patch by Mizuki ISHIKAWA.

History

#1 Updated by Mizuki ISHIKAWA 7 months ago

I'll attach the patch.

#2 Updated by Go MAEDA 7 months ago

  • Category changed from UI to Performance

+1

Currently, inline images on a page are loaded all at once. After enabling lazy loading by applying the patch, images are loaded when it is necessary.

Lazy loading reduces the transfer volume of images and makes the load speed of a page. It resolves the problem that long issues or wiki pages with a lot of images take a long time to load and should improve the user experience.

#3 Updated by Go MAEDA 7 months ago

  • Target version set to Candidate for next major release

#4 Updated by Go MAEDA 7 months ago

  • Subject changed from Change image loading to lazy loading to Lazy load inline images
  • Target version changed from Candidate for next major release to 5.0.0

Setting the target version to 5.0.0.

#5 Updated by Go MAEDA 7 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Also available in: Atom PDF