#2978 Make the images on pagure be lazy loaded
Merged by pingou. Opened by pingou.
lazyloading  into  master

Download 2978.patch

Fixes https://pagure.io/pagure/issue/2975

rebased onto aa7beb3d8eed433bab91f4bd096e10181c9cb490

2 new commits added

  • Make images be lazy loaded via javascript.
  • Customize the markdown image processor

2 new commits added

  • Make images be lazy loaded via javascript.
  • Customize the markdown image processor

:thumbsup:

Works well. Is it an issue that the images won't load at all if users have Javascript disabled? It could be fixed by adding another <img> tag wrapped in <noscript>.

Good idea yeah!

rebased onto b25f6d349dba8f1853955da2fd5a9c03fc168e6b

@lsedlar how does this look? :)

:thumbsup: Nice!

rebased onto 5960dd4ddca6a1c6b30f886347c45a4b2cc8f5c1

rebased onto d01035d93dc22fb51241f30cce4ceb468c97fd3c

Running the tests then merging :)

rebased onto 9f532ef34ebd227062759a78f67177993f6bd3da

Ran 898 tests in 3806.594s
OK (SKIP=1)

Pull-Request has been merged by pingou

Metadata