Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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