Upload Test

← Back to Projects

Image Upload Test

This page helps you test that image uploads are working correctly.

{#if localUploadsExist}
✅ Local uploads directory is configured
{:else}
⚠️ No local uploads found yet
{/if}

How to test:

  1. Copy an image to your clipboard
  2. Click in the editor below and paste (Cmd+V)
  3. Or click the image placeholder to browse files
  4. Or drag and drop an image onto the placeholder

Editor with Image Upload

{#if uploadedImages.length > 0}

Uploaded Images

{#each uploadedImages as image}
Uploaded
{image.timestamp} {image.url} {#if image.url.includes('/local-uploads/')} Local {:else if image.url.includes('cloudinary')} Cloudinary {:else} Unknown {/if}
{/each}
{/if}

Editor Content (JSON)

{JSON.stringify(testContent, null, 2)}