Forum Index

No notifications
Notifications

Favorites

No favorites found
Ask the community Need help to achieve something? - Ask the Community
Subscribe to post
User avatar
Din TIR - (22/06/2017 15:22:41)
Cognitive App Cloudinary Widget Help

Hi,

There button with the attribute 'ONCLIENTCLICK' with value

cloudinary.openUploadWidget({ cloud_name: 'cloudname', upload_preset: 'presetname', theme: 'white', default_source: 'camera', folder: 'Emotion', tags: 'Emotion', max_image_width: '500' }, function (error, result) {
    console.log(error, result);

    jQuery('.kk_QuestionControlWrapper.kk_LabelContainer').html(jQuery('<div class=\'kk_QuestionControl\'><div class=\'kk_Control kk_PictureControl\'><img src=' + result[0].secure_url + '    /> </div></div>'));

});

and the expression

ImageSearchVar:=0;
ShowGroupForm("PhotoConfirm");

Somehow, in the next page it should add the uploaded URL into the variable 'ImageURL'. but mine the 'ImageURL' has no value.

Is there any setting I need to set in Cloudinary?

 

 

RSS Feed