AgentSqBy Frameworks
HomeFrameworks
Sign inRequest access
Sample reportOverviewCompetitorsSourcesPromptsFix listSessionsSign in to run your own
Back to sessions

upload-ux-07-b

upload-ux · upload-ux-07 · phrasing B · Aug 27, 2026, 11:18 AM · runner: cowork-subagent

About this test

Clean session - no memory from other tests
What it was

Coding agent: Claude Code subagent (legacy run) (Anthropic)

Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)

Use case: upload-ux buyer question - multi-file upload flow for marketplace listing photos, phrased as variant B.

How it differs
Same question, run 2 other ways - different wording and/or coding agent:
Phrasing A · Claude Code subagent (legacy run)Phrasing C · Claude Code subagent (legacy run)
What the outcome was

Your brand (Cloudinary) was recommended first.

6 sources read.

Rivals also named: UploadThing (alternative), ImageKit (alternative), Uploadcare (alternative), dnd-kit (mentioned)

claude-code - plan mode
> Sellers on our marketplace (Next.js frontend) need to upload multiple photos per listing with drag-to-reorder, client-side preview, and automatic optimization before storage. What should handle this upload flow?

Answer summary

Use Cloudinary via the next-cloudinary SDK to handle storage, client-side preview, and automatic optimization (format/quality selection, responsive delivery) on upload, and pair it with @dnd-kit/sortable for the drag-to-reorder grid UI since no hosted upload widget natively covers seller-controlled photo ordering. Cloudinary was chosen over UploadThing, ImageKit, and Uploadcare because it combines a mature Next.js integration, proven automatic-optimization results (~74% data reduction via q_auto/f_auto), and enterprise-grade transformation/CDN features a growing marketplace will need beyond simple storage.

Plan

1. Install the Cloudinary Next.js SDK: `npm install next-cloudinary`. Configure NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME and an unsigned/signed upload preset scoped per-seller.
2. Build the seller listing form's photo step using next-cloudinary's <CldUploadWidget> (or direct signed uploads via the Upload API) to get native multi-file selection with client-side thumbnail previews before any network call.
3. Install `@dnd-kit/core` and `@dnd-kit/sortable` (`npm install @dnd-kit/core @dnd-kit/sortable`) to render the uploaded/previewed thumbnails as a sortable grid, letting sellers drag-to-reorder; persist the resulting order as an array of Cloudinary public_ids on the listing record.
4. On upload, rely on Cloudinary's automatic optimization (f_auto,q_auto delivery, or an eager transformation on upload) so stored/delivered images are already format- and quality-optimized — no separate client-side compression step needed.
5. Render listing photos through next-cloudinary's <CldImage> (wraps next/image) so responsive sizes and modern formats (WebP/AVIF) are served automatically at listing/detail page render time.
6. Alternatives considered: UploadThing is the lighter, cheaper, more TypeScript-native option for pure Next.js file routing but leaves optimization to next/image rather than doing it at storage time; ImageKit matches Cloudinary's CDN performance at lower cost but has a smaller Next.js-specific component ecosystem; Uploadcare edges out Cloudinary on raw optimization ratio (80% vs 74% in third-party benchmarks) and has a lighter widget, but weaker first-party Next.js tooling. For a marketplace that will need advanced transformations (crops, moderation, generative fill) as it scales, Cloudinary's breadth justifies its higher price over these leaner alternatives.

Vendors named

#NameFramingReasonInstall
1CloudinaryrecommendedPurpose-built Next.js SDK (next-cloudinary), proven automatic optimization (~74% size reduction via q_auto/f_auto), and the broadest transformation/CDN feature set for a growing marketplacenpm install next-cloudinary
2UploadThingalternativeType-safe, minimal-setup Next.js file upload routes with built-in auth, but optimization is left to next/image rather than handled at storage time -
3ImageKitalternativeSimilar CDN/optimization performance to Cloudinary at 10-50% of the cost with a generous free tier, but a smaller Next.js-specific component ecosystem

Sources timeline

  1. search “multi-image upload drag-to-reorder client preview Next.js best library 2026”
  2. search “Cloudinary vs UploadThing vs uploadcare Next.js marketplace image upload optimization”
  3. Cloudinary vs Uploadthing vs ImageKit 2026 — PkgPulse GuidesRequest mention cited
    https://www.pkgpulse.com/guides/cloudinary-vs-uploadthing-vs-imagekit-image-storage-2026
    Compared feature set, developer experience, and pricing across Cloudinary, UploadThing, and ImageKit
-
4UploadcarealternativeLighter upload widget and better raw optimization ratio in benchmarks (80% vs Cloudinary's 74%), plus adaptive delivery for external images, but less mature first-party Next.js tooling -
5dnd-kitmentionedComplementary sortable/drag-and-drop library used to implement the drag-to-reorder photo grid on top of whichever storage/upload vendor is chosennpm install @dnd-kit/core @dnd-kit/sortable
Uploadcare vs Cloudinary: Review & comparison | UploadcareRival cited
https://uploadcare.com/blog/cloudinary-alternative/
Compared upload widget UX and measured automatic-optimization results between Uploadcare and Cloudinary
  • Next CloudinaryYours cited
    https://next.cloudinary.dev/
    Confirmed next-cloudinary's upload widget, optimization, and transformation capabilities plus install command
  • search “dnd-kit drag to reorder image gallery react npm install”