Restrict a file type in smartimage widget | Community
Skip to main content
October 16, 2015
Solved

Restrict a file type in smartimage widget

  • October 16, 2015
  • 1 reply
  • 525 views

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

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 Scott_Brodersen

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

scott

1 reply

Scott_Brodersen
Scott_BrodersenAccepted solution
Level 8
October 16, 2015

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

scott