Making the resizing function to use width as the important messurement


Hi all,


Just have a quick question about the EPiServer Image Editor. Does anyone know if there is a way to make the resize to take width as the important messurement instead of height as it seems to do today when choosing a preset size?

Is there a config setting that I'm missing?


Apr 17, 2012 9:51

Info for future viewers. Thank you support for a quick reply!

In order to implement your requirement I think you have to rewrite the function SetPresetValues(sPresetValue, Action) in ImageEditor.js (normally located in C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Application\UI\CMS\Javascript\ImageEditor).

Best regards,
EPiServer Developer Support

Apr 17, 2012 12:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.