Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Uploaded image exists, not showing

Started by P. Fighter 8 years ago · 1 replies · 683 views
8 years ago

I have a custom field in my page header, reserved for an image. The blueprint looks like this:

YAML
    header.image:
    type: file
    limit: 1
    destination: 'self@'
    multiple: false
    accept:
        - image/*

I can upload the file just fine and it show up both the field and the page media box. It also shows up in the folder on the server as it should.

But: When reload the page editor after upload, the image field only contains a blank placeholder. Any and all attempts to reference the image is also futile.
After reloading, It still shows up in the page media box and the page header seems to contain valid information on the image.

I tried clearing the cache, to no avail...

Any idea why this is and how I would fix it?

EDIT: Seems like it was related to Cloudflare's caching system.

last edited 04/04/18 by P. Fighter
8 years ago

Cloudflare, creating at least as many problems as it solves :slightly_frowning_face:

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
4 180 2 days ago
General · by lynbor, 5 days ago
2 119 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago