We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question

Specify image type

Hey,

Happy new year all! Is there a way to specify that the user can only upload an SVG type image for the image region type?

Cheers!

Ryan Gittings

Ryan Gittings 1 points

  • 1 year ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, you can add it to a group in the config/filetypes.ini file. You can then restrict a field to that group using the accepts attribute on the image and file field types with Paranoid mode enabled.

https://docs.grabaperch.com/perch/configuration/security/