Skip to content

Docs: Images not appearing in the Image and Node Resizer extension pages #2155

@lucbic

Description

@lucbic

What happened?

There are two issues happening: The external url image set in the example is being blocked by CORS policy, and the local files in the apps/docs/public folder are not accepted because the registerImages helper is not prepared to handle local files.

Image Image

Steps to reproduce

  1. pnpm run dev:docs
  2. http://localhost:3001/extensions/image
  3. Images don't appear

SuperDoc version

No response

Browser

Chrome

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions