[SOLVED] Image Resizer not work

Hi there

the resizer does not seem to work.

if only one parameter is specified, for example:
?width=300 or ?height=300

if both parameters are given:
?width=300&height=300

Greetings Andreas

I’m submitting a…

  • [X] Bug report

Environment

  • [X] Self hosted with IIS

Version: 4.1 RC1

Is there something missing because you started your sentences with “if”.

Are you talking about the UI or the API?

Not working
https://cms.webnerds.ch/api/assets/56322aa3-6cdb-4d0b-b9da-49eca72d8e34?width=500

Working
https://cms.webnerds.ch/api/assets/56322aa3-6cdb-4d0b-b9da-49eca72d8e34?width=500&height=300

I usually generate the URL via SquidexClientManager and put the parameters behind it.

Example:
<img src="@SquidexClientManager.GenerateImageUrl(Model.Logo[0])?width=500&height=215" class="logo-default" />

I have pushed a fix, could take a few minutes until the build is done.

1 Like