Score:0

How do I add a media item with a custom form?

cn flag

I have a custom form that currently uses a managed file field and then stores the value in config. However, if there is ever an issue, the user must remove and upload a new file. I would like them just to be able to select an image from the media library/browser. The selected media item would then be displayed in a template. What type of field can I use to do this?

It seems I missed this question with almost an identical title, but with truly an identical question (not the wording, but the desired outcome).

shelane avatar
cn flag
Yes, that is the one I linked above.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.