I'm having trouble picking images for the slider. Both in the list view and on the details view for a slide. The media picker sidebar opens but clicking the images does nothing at all.
I have tried with those versions, But I can't reproduce this issue. Maybe there is a conflict with another property editor.. did you try do debug uSky.Slider.controller.js, maybe you can find more detail about the error
Actually it looks like the error happens in line 3155 in the umbraco.services.js file. They try to split(',') a value, but the value is not a string and therefore have no split method. I believe this might happen because my umbracoFile property have a ImageCropper data type instead of an upload datatype.
Question is, why does it fail here and not on the regular pickers!? Is it the way you use the getImagePropertyValue method? Or is it just a bug in the Umbraco JavaScript?
Image picker
I'm having trouble picking images for the slider. Both in the list view and on the details view for a slide. The media picker sidebar opens but clicking the images does nothing at all.
This is on Umbraco 7.1.3
/Rune
Hi Rune, Could you check if there is any error into the JS console, it will help me to resolve your issue. Thanks!
Hi Rune, Which Browser are you using?
Hi Antoine,
Here's the javascript error that occurs when I click an image in the right popout image picker:
TypeError: undefined is not a function at Object.getMediaPropertyValue (http://domain.dk.local/umbraco/js/umbraco.services.js:3155:41) at Object.getImagePropertyValue (http://domain.dk.local/umbraco/js/umbraco.services.js:3194:25) at Object.getImagePropertyValue (http://domain.dk.local/umbraco/js/umbraco.services.js:2492:32) at http://goshopping.dk.local/App_Plugins/Lecoati.uSky.Slider/uSky.Slider.controller.js:150:49 at Array.forEach (native) at Function._.each._.forEach (http://domain.dk.local/umbraco/lib/underscore/underscore.js:78:11) at Object.dialogService.mediaPicker.callback (http://goshopping.dk.local/App_Plugins/Lecoati.uSky.Slider/uSky.Slider.controller.js:149:23) at Object.scope.submit (http://domain.dk.local/umbraco/js/umbraco.services.js:1419:36) at Object.$scope.clickHandler (http://domain.dk.local/umbraco/js/umbraco.controllers.js:1037:32) at http://goshopping.dk.local/umbraco/lib/angular/1.1.5/angular.min.js:74:98
My browser is chrome Version 35.0.1916.153 m
Thanks
/Rune
By the way. The Umbraco version this time is 7.1.4, so I have upgraded that after I created this post.
/Rune
I have tried with those versions, But I can't reproduce this issue. Maybe there is a conflict with another property editor.. did you try do debug uSky.Slider.controller.js, maybe you can find more detail about the error
Actually it looks like the error happens in line 3155 in the umbraco.services.js file. They try to split(',') a value, but the value is not a string and therefore have no split method. I believe this might happen because my umbracoFile property have a ImageCropper data type instead of an upload datatype.
Question is, why does it fail here and not on the regular pickers!? Is it the way you use the getImagePropertyValue method? Or is it just a bug in the Umbraco JavaScript?
/Rune
Yes, I have this same issue and it appears that uSkySlider doesn't support images from the Cropper property editor
Thanks Jeavon, you right, it was an issue with the cropper. I have just uploaded a new version with a fix for that. for this http://our.umbraco.org/FileDownload?id=12152
Awesome! Working perfectly now!
Works perfectly here as well.
Thanks a lot.
/Rune
is working on a reply...