|
KnowledgeKube Staff
|
Cara
-
26/06/2017 14:24:34
RE:Cognitive App Cloudinary Widget Help
Hi Din,
We are aware that this issue is being resolved directly.
Thanks
Cara
|
|
|
Advanced member
|
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?
|
|