I think you misunderstand me. I have the Image cropper as a property on my Image media type. And everything works just fine, and I can crop images an so on.
But I would like the cropped files to show up in the media section. for example:
test-image.jpg when cropped also displays the test-image_cropped.jpg in the media section.
If this works, it would also be possible to use a cropped image in the RTE.
And most of my clients would not have to use Photoshop at all...
That would require a significant change in the rte datatype. If you just want resizing, then you can set a maximum size for images in the rte datatype, but if you need real cropping as well you'rr looking at changing the insert image dialog in the rte datatype. It can be done, but rhere's no ready made examples at the moment.
If you use the DAMP 2.0 RC it can show the cropped image on the picker. Perhaps not what you want, but at least the user can see the crops only not in the RTE. At the end of this video it also shows cropped images: http://www.screenr.com/vshs.
Unfortunately the Image Cropper isn't integrated that much into Umbraco. Crops aren't even created by default if you create a new media item. I created a package for that, but the fact that I needed to create that package says enough about how it's integrated.
Using the cropper with RTE or media picker
This is shaping up to be a great package, but to be perfect i really think the user should be possible to:
1. select the a cropped image with the media picker
2. insert a cropped images in the RTE.
This doesnt seem to be possible in the current version or am i missing something?
Any updates on this one?
//Anders
Can't do it in the RTE, correct. With the media picker, just pick the media item with the crops on it and select the crop in either XSLT or Razor.
But since the cropped image is there, why not display it in the media section? It would really make a lot of my customers happy.
//Kalle
Ah, I thoughr you had that already: go to Settings, Media Types, Image and add the cropper there as a new property.
I think you misunderstand me. I have the Image cropper as a property on my Image media type. And everything works just fine, and I can crop images an so on.
But I would like the cropped files to show up in the media section. for example:
test-image.jpg when cropped also displays the test-image_cropped.jpg in the media section.
If this works, it would also be possible to use a cropped image in the RTE.
And most of my clients would not have to use Photoshop at all...
//Kalle
That would require a significant change in the rte datatype. If you just want resizing, then you can set a maximum size for images in the rte datatype, but if you need real cropping as well you'rr looking at changing the insert image dialog in the rte datatype. It can be done, but rhere's no ready made examples at the moment.
If you use the DAMP 2.0 RC it can show the cropped image on the picker. Perhaps not what you want, but at least the user can see the crops only not in the RTE. At the end of this video it also shows cropped images: http://www.screenr.com/vshs.
Jeroen
I dont need the crop dialog in the RTE, I just want to access the already cropped images there.
The cropping-logic are made under the media section as default in the data type.
But today, when you make these cropped images you have to know the extension imagename_"cropped".jpg.
Since it seems like the Image Cropper are really making a separate file, why is it not displayed in the tree under the media section?
//Kalle
Unfortunately the Image Cropper isn't integrated that much into Umbraco. Crops aren't even created by default if you create a new media item. I created a package for that, but the fact that I needed to create that package says enough about how it's integrated.
Jeroen
Know that this is an old post, but i've got the same question.
I've installed a Media Cropper And it leaves two images and the original:
org: imageName.jpg
1: imageName_big.jpg
2: imageName_small.jpg
But again I cant see the big and the small image in the media section?!?
So, how can I acces this two images with the RichText Editor??? Any suggestions?
//mads
Is there a way to add a proberty in the RTE insert image option, like chose imageCrop: Big og small???
Any good ideas?
Is there a way to add a proberty in the RTE insert image option, like chose imageCrop: Big og small???
Any good ideas?
Hi,
I know this is an old thread, but has anyone been able to display cropped images when selecting a media in the Rich text editor on Umbraco ?
Cheers
You can do someting with Macros :)
Hi Mads,
Thank you for your reply. Any guidance, documentation or sample code would help a lot :) !
Cheers
Hi
This is from a project where i did it :)
You will have to setup the an media picker and a crop selector in your Macro and what you else need :D
Thanks a lot !!
I will give it a try tomorrow.
Cheers.
Halima
is working on a reply...