Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've got a template that calls imagegen multiple times to re-size an image into different dimensions. At the moment I have the following urls:
The image I've uploaded into the media section is 960px wide and 600px high. I've checked the media folder for the raw image and it's sitting there with the right dimensions. However as soon as I load up the page, the newly created cached files for the first two links don't work properly. The other two come out correctly.
For some reason the first two images get resized to 800x600. Any ideas why? I've tried changing the image, deleting the cache multiple times and restarting IIS but nothing seems to make a difference. I've also tried switching up the parameters by using 'nocache=true' and 'format=png' and they didn't help either.FYI I'm using umbraco v22.214.171.124 and ImageGen v2.5.7
You can delete all this. It's no bug - I didn't realise there was a max height/width specified in the config :-)
Please take a look at the /config/imagegen.config file... do you have a "default" class that specifies the maxwidth and/or maxheight and/or constrain? I suspect you do and when using ImageGen Professional the default class will be applied. The class system is fantastically powerful and helpful but is worth reading about in the docs to get the most out of it.
Haha - you beat me to it!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted