Answer the question
In order to leave comments, you need to log in
How to select a directory outside of images in the media field?
The media field type has a directory parameter that allows you to specify the default selection directory.
At the same time, the specified directory must be in the images folder
. How can I specify a directory that is not in the images folder?
The same for the default parameter - how to set the default image that is not in the images folder?
And in addition: how to put several types in the accept parameter? For example, I only need gif and png
Answer the question
In order to leave comments, you need to log in
And how to specify a directory that is not in the images folder?
<input accept="image/gif|image/png">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question