LagShaggy / kaanpeeters_site

https://kaanpeeters-site.vercel.app
1 stars 0 forks source link

Finish Gallery #18

Open LagShaggy opened 1 year ago

LagShaggy commented 1 year ago

needs to show pictures that he selects in a nice layout.

The pictures should be clickable, once clicked they should enlarge

should work fine for both Mobile and Desktop

DJassassin4u commented 1 year ago

@LagShaggy generally, the gallery works fine, except that it loads all images in full resolution (which is like 300 Mb). Options to solve this are: installing a package that compresses an image and then shows uncompressed when required, or to upload reduced size images to supabase (but the problem with that is that we will probably need a table to "bind" compressed image to full resolution one). Supabase does have the capability to reduce image size but it's a paid subscription feature. Opinion?

LagShaggy commented 1 year ago

supabase does this automatically, you can make it send you only the tumbnails

LagShaggy commented 1 year ago

Oh supabase has this but its behind a paywall. Fuck.

LagShaggy commented 1 year ago

Images are still forced into cubes. We need to fix that