pR0Ps / PhotoFloat

See https://git.zx2c4.com/PhotoFloat/ (this is a personal fork)
GNU General Public License v2.0
24 stars 2 forks source link

Progressive JPEGs for large views? #11

Closed pR0Ps closed 6 years ago

pR0Ps commented 7 years ago

For loading the larger images, immediately setting a progressive jpeg as the src and letting it load in-frame might be a better experience than showing the loading animation until it's completely loaded and swapping it in.

Progressive JPEGs can be generated in Wand using: img.format = 'pjpeg'

pR0Ps commented 6 years ago

Did this a different way in 4cf6c2d8c1 (the already-cached thumbnail will be used as the placeholder instead so a blurry version of the image is replaced with the full-res one when it loads)