Expand my Community achievements bar.

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