How to set images type (jpeg, jpg, png) for assetpicker fields? | Community
Skip to main content
bhoang
Level 4
October 23, 2018
Solved

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

  • October 23, 2018
  • 2 replies
  • 902 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

You can set mime type property

mimeTypes(string) multiple

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

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 23, 2018

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
bhoang
bhoangAuthor
Level 4
October 25, 2018

Thanks you!