Suggestion: Image scaling - respect height attribute

It would be great if the <img editable> template tag respected the height attribute when scaling images.

Currently an editable image will be scaled to match the width attribute, while retaining its aspect ratio. For example, consider the following img tag:

<img width="500" height="500" editable>

Currently, a 1000x2000 image will be scaled to 500x1000 - the height attribute is ignored. This means that portrait format images can end up being enormously tall.

What I would like, given the example above, is for the image to be scaled to 250x500, so that it does not exceed the specified 500x500 img dimensions.

Of course if the height attribute is omitted then the present scaling algorithm should be applied.

Stephen, 3 years ago

Hi jnicol,

Thanks for taking the time to send through your request here, it's much appreciated and it's a great idea, so we've gone ahead and have added your vote to our existing feature request for you, and should this become available in the near future, we'll be sure to follow up and let you know :)

Thanks again for your feedback, and do let us know if you have any other questions or requests in the meantime!

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free