Skip to content

Issue: Remote Images in "image" type results in "error loading field" #494

Description

@traeblain

Describe the bug
When a remote resource (remote image) is used in the "image" type, an error is provided and now image is generated for the isPreviewImage in the post/page list.

To Reproduce
Steps to reproduce the behavior:

  1. Setup an image type field
  2. Add a remote resource to the field (i.e. https:://example.com/image.jpg)
  3. Look at Front-Matter sidebar
  4. See error "error loading field"
  5. See no image in Preview on the post/page list

Expected behavior
Still show the image thumb in FrontMatter (remove option still available), and see the image in the preview on the dashboard.

Screenshots
image

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser: chrome
  • Version: 109

Additional context
I know there the "remote media" enhancement #445 that is looking to enhance the media library, but if you don't use a local media library (i.e. CDN media storage) you cannot even use the links without dealing with this error. I understand Front Matter isn't ready to deal with remote libraries yet, but if I paste in the URL to an image field manually, expectation is that it would at least still show...even if it's not local.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions