Avoid markdown generation from blueprint


In the admin panel, I added some extended blueprints for pages.
I want to be able to pick an image using the Filepicker field. (https://learn.getgrav.org/forms/blueprints/fields-available#the-filepicker-field). This is working great.

I also want, from any pages, be able to upload a new image. I’m using the File field: https://learn.getgrav.org/forms/blueprints/fields-available#the-file-field that works great too.

The issue I have is that when I’m uploading a new image, the markdown of the given page is changed because of the recent image upload. Is there a way to avoid that please? I have attached two screenshots:

Screen Shot 2016-12-23 at 15
Screen Shot 2016-12-23 at 15

In this example, I’ve added a new image called NEW_IMAGE_ADDED.jpg and then I selected it. But in the markdown, I have the selected image in imageFileName but also the uploaded image.

I would like each page t o be able to pick an existing image and to upload a new one. But I just want the markdown to show a picked image, not the uploaded ones.


And this is the .yaml blueprint as well. Anyone tried to achieve the same?

Screen Shot 2016-12-23 at 15

Thanks :slight_smile:

Anyone in 2017? :slight_smile: Thanks