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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Uploaded image exists, not showing

Started by P. Fighter 8 years ago · 1 replies · 530 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 Jerry Hunt, 4 days ago
2 76 8 hours ago
General · by pamtbaau, 13 hours ago
1 47 13 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago