mg
mg
Nov 24, 2008
  12174
(1 votes)

Tweaking the Image Editor

Now that we've been running the CMS 5 R2 for a while, I would like to hint about a small configuration option available for the Image Editor which comes with R2.

With the new image editor we've included functions to crop and resize images. By using preset formats it will be easier for editors to resize and crop to most commonly used sizes on the web site. A little nice thing you can do is to configure the preset sizes very easily by modifying the imageEditor section in web.config.

Example of preset sizes in web.config. Note: Each preset can have a name as well. If name is left out the preset name will be "width x height".

<sizePresets>
       <preset name="4:3 320 * 240" width="320" height="240" />
       <preset name="4:3 800 * 600" width="800" height="600" />
       <preset name="4:3 1280 * 960" width="1280" height="960" />
       <preset name="16:9 320 * 180" width="320" height="180" />
       <preset name="16:9 800 * 450" width="800" height="450" />
       <preset name="16:9 1280 * 720" width="1280" height="720" />
</sizePresets>

Oh, you can also set (web.config) the size of the window that is hosting the Image editor, have a look at these settings: windowWidth="900" windowHeight="600" in the ImageEditor section.

Another good thing with the Image Editor is that you can separate it to another server in in scenarios where you don't want image operations to burden the live site. But that is another story. Read more about that in this Tech note....

Nov 24, 2008

Comments

Simon Simonsson
Simon Simonsson Sep 21, 2010 10:32 AM

Or you could just go ahead and buy ImageVault! :) ... but nice tweaks anyway, could come in handy, for projects without ImageVault!

Apr 17, 2017 03:34 PM

Please login to comment.
Latest blogs
Opti ID overview

Opti ID allows you to log in once and switch between Optimizely products using Okta, Entra ID, or a local account. You can also manage all your use...

K Khan | Jul 26, 2024

Getting Started with Optimizely SaaS using Next.js Starter App - Extend a component - Part 3

This is the final part of our Optimizely SaaS CMS proof-of-concept (POC) blog series. In this post, we'll dive into extending a component within th...

Raghavendra Murthy | Jul 23, 2024 | Syndicated blog

Optimizely Graph – Faceting with Geta Categories

Overview As Optimizely Graph (and Content Cloud SaaS) makes its global debut, it is known that there are going to be some bugs and quirks. One of t...

Eric Markson | Jul 22, 2024 | Syndicated blog

Integration Bynder (DAM) with Optimizely

Bynder is a comprehensive digital asset management (DAM) platform that enables businesses to efficiently manage, store, organize, and share their...

Sanjay Kumar | Jul 22, 2024

Frontend Hosting for SaaS CMS Solutions

Introduction Now that CMS SaaS Core has gone into general availability, it is a good time to start discussing where to host the head. SaaS Core is...

Minesh Shah (Netcel) | Jul 20, 2024

Optimizely London Dev Meetup 11th July 2024

On 11th July 2024 in London Niteco and Netcel along with Optimizely ran the London Developer meetup. There was an great agenda of talks that we put...

Scott Reed | Jul 19, 2024