We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4fd2cb5 + 2285316 commit 0a1a23eCopy full SHA for 0a1a23e
1 file changed
docs/add-ons/file.md
@@ -128,6 +128,21 @@ You can hard code the file entries tag to show specific files. You may also spec
128
129
If you want to display only the files that are in certain folder within an Upload Directory, specify the folder ID using this parameter.
130
131
+### `mime_type=`
132
+
133
+ mime_type="image/jpeg|image/png"
134
135
+Filter returned files by MIME type. You may specify one or more MIME types; separate multiple values with the pipe character.
136
137
+Or use "not" to exclude types:
138
139
+ mime_type="not video/mp4|video/quicktime"
140
141
+Common examples:
142
143
+- Images only: `mime_type="image/jpeg|image/png|image/gif"`
144
+- PDFs only: `mime_type="application/pdf"`
145
146
### `limit=`
147
148
limit="30"
0 commit comments