I tried to change the upload service in /umbraco/lib/jquery/jquery.upload/js/main.js
$('#fileupload').fileupload({
// Uncomment the following to send cross-domain cookies:
//xhrFields: {withCredentials: true},
url:'server/php/',
imageMaxHeight: 2500
});
I haven't got to really test if it really worked :)
But either way, I found a work around, it only happens when you use the "drag & drop" upload, so if you browse to the file that resized in Umbrao Media section, and then upload the original file by using the uplaod fil button, and save the node, it keeps it's size.
I seem to use a newer version than the guy in the post I quoted before.
The actual current location is to in: /Umbraco/lib/jquery-file-upload/jquery.fileupload-image.js
Line 104:
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
options: {
// The regular expression for the types of images to load:
// matched against the file type:
loadImageFileTypes: /^image\/(gif|jpeg|png)$/,
// The maximum file size of images to load:
loadImageMaxFileSize: 10000000, // 10MB
// The maximum width of resized images:
imageMaxWidth: 1920,
// The maximum height of resized images:
imageMaxHeight: 1920,
// Defines the image orientation (1-8) or takes the orientation
// value from Exif data if set to true:
imageOrientation: false,
// Define if resized images should be cropped or only scaled:
imageCrop: false,
// Disable the resize image functionality by default:
disableImageResize: true,
// The maximum width of the preview images:
previewMaxWidth: 80,
// The maximum height of the preview images:
previewMaxHeight: 80,
// Defines the preview orientation (1-8) or takes the orientation
// value from Exif data if set to true:
previewOrientation: true,
// Create the preview using the Exif data thumbnail:
previewThumbnail: true,
// Define if preview images should be cropped or only scaled:
previewCrop: false,
// Define if preview images should be resized as canvas elements:
previewCanvas: true
}
File Upload resizes all my images
When I upload an image via the build-in File Upload it gets resized to three different resolutions:
The original image I uploaded had a resolution of 2500px * 1667px.
I want to use that picture in a size of 1920px width, but can't as each is scaled down to a lower size.
Is there a way I can configure this in Umbraco?
Cheers!
Hi Elia,
Look please in Media section directly to your latest image.
Can you look at size of image in the media section?
How do you see that all images are resized to 3 different sizes?
Sorry for silly questions, just want to be sure that I can understand the problem :)
Thanks,
Alex
Hi Alex,
Thanks for asking, sorry I somehow missed the email notification.
In the backend I can only see 1 resolution:
But when I look in the media folder I see 3 pictures:
My question was regards why Umbraco automatically down scales my images and how I can configure that.
Cheers Elia
I just found the answer to my problem:
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/47632-Unwanted-resizing-on-uploaded-file#comment-175550
I seem to use a newer version than the guy in the post I quoted before. The actual current location is to in: /Umbraco/lib/jquery-file-upload/jquery.fileupload-image.js
Line 104:
http://issues.umbraco.org/issue/U4-5200# helps also
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.