Skip to content

Image Upload from Device Not Updating in Preview #7576

@Tharun26-G

Description

@Tharun26-G

Bug Report: Image Upload from Device Not Updating


Describe the bug

When uploading an image from the local device using Decap CMS, the image is visible in the CMS editing panel but is not reflected in the live preview/output. Uploading via URL works as expected.


To Reproduce

  1. Go to https://demo.decapcms.org/
  2. Open any editable entry (e.g., a blog post).
  3. Choose the image field from + icon.
  4. Click "Choose different image" and select an image from your local device.
  5. Check the preview
  6. Issue: The image doesn’t appear in the preview.
    (However, uploading an image via URL works correctly.)

Expected behavior

Images uploaded from the device should:

  • Save to the configured media folder in the repo.
  • Display immediately in the preview.
  • Appear correctly in the published post.

Screenshots

Image

Example:

  • Left (CMS editor) – Image shows in the field after upload.
  • Right (Preview) – Image is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions