perf: 이미지 미리보기를 축소 썸네일로 전환

- 원본 대신 400px 썸네일을 렌더해 디코딩/메모리 부담 감소
- 중복 파일은 추가하지 않고 안내
- 이미지 개수 카운터(n/100) 표시
- objectURL 해제 누락 지점 보완
This commit is contained in:
skkim committed 2026-08-12 10:58:13 +09:00
1 parent 23938871b0
commit 1cdb47ec2e
9 files changed
+314 -51

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ export async function uploadImagesSequentially(
): Promise<ImageUploadResponse> {
const totalImageCount = imageUrls.length + files.length;
if (totalImageCount > MAX_IMAGES_PER_UPLOAD_TASK) {
throw new Error(`이미지는 한 번에 최대 ${MAX_IMAGES_PER_UPLOAD_TASK}장까지 업로드할 수 있습니다.`);
throw new Error(`이미지는 최대 ${MAX_IMAGES_PER_UPLOAD_TASK}장까지 업로드할 수 있습니다.`);
}
if (files.length === 0) {