Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Uploaded image exists, not showing

Started by P. Fighter 8 years ago · 1 replies · 640 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 jean-louis67, 3 weeks ago
2 306 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 3 weeks ago
0 263 3 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago