mda100 / noel-website

photo album for noel
0 stars 0 forks source link

image storage/access ideas #15

Closed mda100 closed 1 year ago

mda100 commented 1 year ago

ideas for automation or efficient storage or access for images?

say people give us 12 images do we add those to the file then the export object, or can a script append names also can we create a script to convert to webp for efficient storage is lazy loading useful here

also do we want to randomize order some images still aren't loading what about videos

mda100 commented 1 year ago

PR #21 automated image imports so we can add images to folder easily @berkeleybear reduced existing asset size significantly in #19 i'm going to see if that image reducing api can be used on deployment automatically

mda100 commented 1 year ago

possible idea for build script : resize images to the same size convert to webp or webm

other ideas for image loading speed

also need protocol for images that are incorrect format and not loading (i think .JPG already) or videos that are too long

mda100 commented 1 year ago

i might undo #19 because the image seem blurry and I'm wondering if theres another approach we can use (webp?) or maybe we should keep the images people give us separate from the compressed image we use

mda100 commented 1 year ago

this was partially closed by #21 and the image optimization will be addressed with #22