Remove Photo field


I have develop a custom module
In this custom module i use field photo
I have noticed that i can’t remove a photo already set
There is no “show_remove” option as the field icon
In my custom module sometimes i don’t want to display the photo, and as i use duplicate to fill the page faster i can’t delete photo.

How i can i do to unset a photo ?

Thanks for help !

Hey Jean-Charles,

You are correct, there is no remove link for the photo field, just edit and replace. We’ll take a look at that though and get back to you as soon as we can!


Hey Jean-Charles,

I just went ahead and added that option to the photo field. With the update coming next Monday you will now be able to set show_remove for those. Let me know if you have any questions.


I will check on documentation how to update

Good support, good team !