Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

pick image size in cms and crop the image to it in the template


Reply


246 Views

Avatar
luuk

Community Member, 10 Posts

25 June 2014 at 3:45am

Hi,

I would like to build a functionality that gives the user the option to pick a image width and heigt, or for example (small, medium and large) and use these values in my template to crop the image to te specified size.

I have absolutely no clue on how to do this and als haven't found anything on the internet yet.

Does someone know if this is possible and how to do it? Basically it should be a croppedImage function which support variable input.

Thanks in advance.