A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Making the resizing function to use width as the important messurement

Vote:
 

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?

/Petter

#58274
Apr 17, 2012 9:51
Vote:
 


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

#58278
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.