Closed Aqours closed 6 months ago
https://github.com/sambecker/exif-photo-blog/blob/6e397b34feb17a0ae9682e015e60836971b446bf/src/services/vercel-postgres.ts#L29
It looks like it takes up too much SQL space. (I use the vercel hobby plan)
Provides a configuration(env) to disable the blur_text in SQL.
blur_text
alternative: Create a placeholder image using CSS and apect_ratio, when the image is loading.
apect_ratio
Just merged!
You can try it out by setting NEXT_PUBLIC_BLUR_DISABLED = 1.
NEXT_PUBLIC_BLUR_DISABLED = 1
To remove historical blur data, you will need to either:
blur_data
null
https://github.com/sambecker/exif-photo-blog/blob/6e397b34feb17a0ae9682e015e60836971b446bf/src/services/vercel-postgres.ts#L29
Reason
It looks like it takes up too much SQL space. (I use the vercel hobby plan)
Solution
Provides a configuration(env) to disable the
blur_text
in SQL.alternative: Create a placeholder image using CSS and
apect_ratio
, when the image is loading.