I'm just wondering if there will be a package released which implements jCrop (or something similar) to scale large images to fit in the umbraco viewport? thanks
Are you talking about the front-end or back-end of umbraco? There is already a jcrop image cropper built into umbraco back-end. http://www.youtube.com/watch?v=cVVD60NHMRk
I could not find the source anywhere, but I really would like this, because it would make the cropping of large images (2000x2000 etc. which people do upload:)) so much easier!
I checked the source and it seems you can add/change the BoxWidth/Height option. The image will then be scaled to this size and the cropping tool will automatically calculate the dimensions.
if anyone else is interested I came up with a quick hack/fix for this download latest umbraco 4.7.1 source, find umbraco.editorControls > imagecropper edit the file called Resources.resx
go to line 417 boxWidth: 0 boxHeight: 0 replace the default null values with something that suits your needs
for me, this worked out pretty well boxWidth: ($(window).width()*0.85), boxHeight: ($(window).height()*0.85),
compile and replace your old umbraco.editorControls.dll with the new one I've uploaded a dll replicating the steps above if it saves anyone some time http://www.cssandstuff.com/umbraco.editorControls.zip (use at your own risk, backup your old dll first etc.)
this bug has been niggling at me since I first started using the inbuilt cropper so I decided to see if I could do a quick fix. it's probably not the proper way to do things, but it suits my purposes for the time being. tested in firefox & chrome (it seems to work ok)
jCrop implementation
Hi,
I'm just wondering if there will be a package released which implements jCrop (or something similar) to scale large images to fit in the umbraco viewport? thanks
Are you talking about the front-end or back-end of umbraco? There is already a jcrop image cropper built into umbraco back-end. http://www.youtube.com/watch?v=cVVD60NHMRk
Hi,
yes, sorry, explained myself a little wrong.I am indeed talking about the backend.
I looked at Kenny's page and found this:
Things I’d like to implement in the next version:
That's what I was talking about. He has already put up a seperate link a year(?) ago (http://kenny.no/downloads/Kenny.Umbraco.DataTypes.ImageCropper.098.zip) but this link isn't working anymore.(this post: http://our.umbraco.org/projects/backoffice-extensions/image-cropper/image-cropper/3946-Resize-picture-to-fit-viewing-pane-if-image-is-huge)
I could not find the source anywhere, but I really would like this, because it would make the cropping of large images (2000x2000 etc. which people do upload:)) so much easier!
I checked the source and it seems you can add/change the BoxWidth/Height option. The image will then be scaled to this size and the cropping tool will automatically calculate the dimensions.
thanks
hi,
Any hope for a fix on this issue?
I have both 4.6 and 4.5.2 sites where I would like to crop big images, 4000px+
Mike, did you solve the problem, and what version of umbraco are you using?
Any workaround / fix / ideas would be appreciated
thanks,
if anyone else is interested I came up with a quick hack/fix for this
download latest umbraco 4.7.1 source,
find umbraco.editorControls > imagecropper
edit the file called Resources.resx
go to line 417
boxWidth: 0
boxHeight: 0
replace the default null values with something that suits your needs
for me, this worked out pretty well
boxWidth: ($(window).width()*0.85),
boxHeight: ($(window).height()*0.85),
compile and replace your old umbraco.editorControls.dll with the new one
I've uploaded a dll replicating the steps above if it saves anyone some time
http://www.cssandstuff.com/umbraco.editorControls.zip (use at your own risk, backup your old dll first etc.)
this bug has been niggling at me since I first started using the inbuilt cropper so I decided to see if I could do a quick fix.
it's probably not the proper way to do things, but it suits my purposes for the time being.
tested in firefox & chrome (it seems to work ok)
vote this bug up on codeplex so it gets fixed properly!
http://umbraco.codeplex.com/workitem/30041
forgot to mention, thanks to the god-like Murray Roke for leading me to this solution via his input here: http://our.umbraco.org/projects/backoffice-extensions/image-cropper/image-cropper/3946-Resize-picture-to-fit-viewing-pane-if-image-is-huge
check out the Terabyte image cropper which also uses jCrop and is set to resize images if they're too big for the viewing pane
http://our.umbraco.org/projects/backoffice-extensions/terabyte-image-cropper
- Tim
is working on a reply...