Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Restrict a file type in smartimage widget

Avatar

Level 1

Hi 

I am trying to restrict a type of an image while uploading in a dialog. I tried adding 'accept' property with value 'image/png' as followed the below link and created the structure specified in it. but it is not working, Is there any other property to be added in the dropConfig node?

http://dev.day.com/docs/v5_1/html-resources/cq5_guide_developer/ch07s06.html#d7641e5541 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 8

What version of CQ are you using? That docs page is for version 5.1.

scott

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

What version of CQ are you using? That docs page is for version 5.1.

scott