frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.28k stars 7.26k forks source link

Support for Next Generation Images in File List #32362

Open SeanFaulkner1 opened 2 years ago

SeanFaulkner1 commented 2 years ago

Hi Ankush,

We met at the conference and discussed the problem of web page speed being affected by image type.
Page speed insights thinks we could speed up the page speed by an average of more than 1 second if our images were in a next generation format such as jpeg 2000 or perhaps webP.

You said it might be possible to write a script to change all the jpeg images to a next generation format, so that I didn't have to upload eaach image again and link them all individually. Please can you look into this for me?

Also at the moment, Jpeg 2000 images don't seem to display when we upload and link them, as if they are not recognised, so this may need to be fixed or a different format used. It displays like this; image

We have already reduced most of our images to around 100kb or less to increase page speed.
This is over and above that.

Many Thanks, Sean Faulkner

SeanFaulkner1 commented 2 years ago

It's possible Jpeg 2000 is just not a good file type to do this with. I'm not sure many browsers such as Chrome support it, which may be why I cannot see it.

Perhaps WebP would be better, but I don't have a way to do this conversion currently.

Many Thanks, Sean