LagShaggy / kaanpeeters_site

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

Finish Gallery #18

Open LagShaggy opened 12 months ago

LagShaggy commented 12 months 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 11 months 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 11 months ago

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

LagShaggy commented 11 months ago

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

LagShaggy commented 11 months ago

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