Is it possible to further restrict asset filetypes than just "image"?
For example only allow .jpg, .jpeg and .png ?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this communityIs it possible to further restrict asset filetypes than just "image"?
For example only allow .jpg, .jpeg and .png ?
It depends. If the only files you want to upload are .jpg, .jpeg, and .png, then yes: set allowedFileExtensions in your config/general.php
'allowedFileExtensions' => 'jpg, jpeg, png',
If you want those to be the only image filetypes, but to allow other files for non-image assets, then that is harder (and I don't know how to do it).