Expand my Community achievements bar.

SOLVED

How to set images type (jpeg, jpg, png) for assetpicker fields?

Avatar

Level 4

Hi all,

I using assetpicker for image field. But I want to set the image type (jpeg, jpg, png) for that fields. How to set the image type for assetpicker fields on properties of fields?

Thanks & Best regards,

BienHV

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You can set mime type property

mimeTypes(string) multiple

The browse and selection filter for file selection. E.g: [”.png”,”.jpg”] or [“image/*”].



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

You can set mime type property

mimeTypes(string) multiple

The browse and selection filter for file selection. E.g: [”.png”,”.jpg”] or [“image/*”].



Arun Patidar