Topic: Image resize not working properly

Image resize is not working properly.

Original image dimension : 900 x 1352

Converted image dimension is 271 × 408 when resize dimension set to (800x600)
When image resize is false, converted image dimension is 399x600

As per document "Plupload will take the larger side of the image and decrease it to fit the specified dimensions. The other side will be resized proportionally."

So why it is not resize based on image height(which is larger in this case)?

Re: Image resize not working properly

Can you post your config?

If you want to see your issue fixed, do not report it here, do it on - GitHub.

3 (edited by kiran 2015-08-06 09:21:08)

Re: Image resize not working properly

            // General settings
            runtimes : 'html5, flash, silverlight, html4',
            url : document.forms.imageupload.action,
            max_file_size : '15mb',

            // Resize images on clientside if we can
            resize : {width : 800, height : 600, quality : 90},

            // Specify what files to browse for
            filters : [{title : "Image files(*.jpg; *.jpeg; *.gif; *.png; *.bmp)", extensions : "jpeg,jpg,gif,png,bmp"}],

            // Silverlight settings
            silverlight_xap_url : 'http://'+location.hostname+'/Moxie.xap',

            // Flash settings
            flash_swf_url : 'http://'+location.hostname+'/Moxie.swf'