Meet us at Drupa 24. Dusseldorf/Germany. May. 28 - Jun 7.
Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jee88  
#1 Posted : Tuesday, January 12, 2016 12:24:15 AM(UTC)
jee88

Rank: Member

Groups: Member
Joined: 10/19/2015(UTC)
Posts: 21

Thanks: 11 times
Hi,

I need to disable image color adjust button in customer canvas image editor, for that i have added this configuration in clientConfig.json file

"imageEditorDialog": {

"colorAdjustButtonEnabled": false,

"cropButtonEnabled": false

},. .

.

But this configuration is not disabling Adjust button in image editor , still its appearing in editor canvas.

Why this configuration is not reflecting in editor?Any extra settings for image editor ? Is there any other way to do this functionality ?

Kate D.  
#2 Posted : Thursday, January 14, 2016 2:39:36 AM(UTC)
Kate D.

Rank: Advanced Member

Groups: Member
Joined: 10/20/2015(UTC)
Posts: 52

Was thanked: 14 time(s) in 13 post(s)
Hi jee88,

1. You should add this snippet to the widgets block.

2. Replace "imageEditorDialog" to "ImageEditorDialog" (first letter is capitalized).

Code:

"widgets": {
    "ImageEditorDialog": {
     "colorAdjustButtonEnabled": false,
     "cropButtonEnabled": false
    },...

Best regards,

Kate Danilova

Aurigma Inc.

Edited by user Thursday, January 14, 2016 2:42:00 AM(UTC)  | Reason: Not specified

thanks 1 user thanked Kate D. for this useful post.
jee88 on 1/14/2016(UTC)
jee88  
#3 Posted : Thursday, January 14, 2016 2:45:15 AM(UTC)
jee88

Rank: Member

Groups: Member
Joined: 10/19/2015(UTC)
Posts: 21

Thanks: 11 times

Thank you for the replay. I have changed config like above and its now working.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.