anishshobithps/anishshobithps.com

`/photos` page

开放

#29 创建于 2026年5月26日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (3 个派生)auto 404
blockedhelp wanted

仓库指标

星标
 (11 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Problem

Cloudinary's free tier has a 10MB upload limit. DSLR/iPhone photos exceeds the limit set by Cloudinary. Paid plans lift the limit, but that's not a path I want to take right now.

What I was building

A Next.js page that pulls photos from Cloudinary, reads EXIF metadata (date, camera settings), and displays them. The photos come straight from the iPhone with no editing or compression applied.

Why this doesn't work on free

Cloudinary's free tier caps individual uploads at 10MB. Raw HEIC files blow past that. Converting to JPEG before upload defeats the point, I want originals with intact EXIF data.

What I need

An alternative approach that:

  • Accepts files over 10MB
  • Preserves EXIF metadata
  • Works with Next.js
  • Has a free or low-cost tier

Options I'm considering: self-hosted storage (S3-compatible like Cloudflare R2), or reading EXIF client-side before upload and storing metadata separately in the DB.

贡献者指南