MultipleMediaPicker and Image Cropper v7.1 working together
Is there any way to use the Multiple Media Picker (MMP) together with the Umbraco Image Cropper in Umbraco 7.1?
Essentially, I would like the admin to have the ability to update the crop (focal point, size, etc) for each image uploaded for the MMP. If the user uploads 5 images for a banner slideshow, then they would be able to crop each one differently.
Can this be done? Or will I need to create multiple Image Cropper Instances to cater for this (as the IC is limited to one image upload / select for each instance)?
Any assistance would be much appreciated.
I did try to add the image cropper data type to the media>image media type, however this inserted a new image cropper instance with new upload field (as expected) rather than allowing the user to applying the crop to the selected media image.
Just watched the excellent uHangout with Jeavon demo'ing the new image cropper and slimsy package. Have got them both working in my latest project but with just one little problem. I'm using a multiple media picker and have the image cropper added to the image media type. This drives a flexslider on the home page. All works apart from when the page first loads, all the slider images are very pixellated. If I change the size of the browser window, they come up to full res, even at the original full window size. This is using Google Chrome 37 on Windows 7.
MultipleMediaPicker and Image Cropper v7.1 working together
Is there any way to use the Multiple Media Picker (MMP) together with the Umbraco Image Cropper in Umbraco 7.1?
Essentially, I would like the admin to have the ability to update the crop (focal point, size, etc) for each image uploaded for the MMP. If the user uploads 5 images for a banner slideshow, then they would be able to crop each one differently.
Can this be done? Or will I need to create multiple Image Cropper Instances to cater for this (as the IC is limited to one image upload / select for each instance)?
Any assistance would be much appreciated.
I did try to add the image cropper data type to the media>image media type, however this inserted a new image cropper instance with new upload field (as expected) rather than allowing the user to applying the crop to the selected media image.
Thanks
Hi Adrian,
Yes it's totally possible. I would suggest you watch this weeks uHangOut where I go through the Image Cropper in detail.
Once you've got the cropper setup on the "Image" type then it should be simple to get it working, something like:
Snippet from multinode picker documentation here
Jeavon
Edited above snippet as
Umbraco.Content
should beUmbraco.Media
in your case as your picker is picking media.Ahaaahh - thanks Jeavon,
It all became clear once I changed the "image" type upload data type with the image cropper data type :)
Thanks also for the uHangout link - look forward to watching!
Cheers,
Adrian
Perfect!
Just watched the excellent uHangout with Jeavon demo'ing the new image cropper and slimsy package. Have got them both working in my latest project but with just one little problem. I'm using a multiple media picker and have the image cropper added to the image media type. This drives a flexslider on the home page. All works apart from when the page first loads, all the slider images are very pixellated. If I change the size of the browser window, they come up to full res, even at the original full window size. This is using Google Chrome 37 on Windows 7.
Code to output the images:-
Code to initiate slimsy:-
Any advice appreciated.
Craig
is working on a reply...