Forum
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!
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!
Yes, you can add it to a group in the
config/filetypes.ini
file. You can then restrict a field to that group using theaccepts
attribute on theimage
andfile
field types with Paranoid mode enabled.https://docs.grabaperch.com/perch/configuration/security/