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:
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.