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
Hello! ImageGen has been great thus far, but I'm been having some issues with the MaxWidth parameter.
I'm not sure if I am misunderstanding what it does, if I am using it incorrectly, or if there is a bug. I simply want to set a limit on how wide an image can be, if its width is smaller than the limit then don't resize at all.
I've attached a screenshot to better communicate my issue. You can see by my URL request that I specified a maxwidth of 600, but the image did not get resized. I am curious if I am doing something wrong or if this parameter needs to work in conjuction with the width and allowupsizing parameters.
ImageGen version 2.5.2Umbraco version 4.5.2, .NET 4
Thanks for your assistance!
Are you using the free version of ImageGen or the pro version (paid)?
If I remember correctly the maxwidth and maxheight features are only available in the pro version.
MaxWidth is a Professional feature, which I suspect is why it didn't get applied in your example (unless you've a key for the IP address you're using).
You can always test the Professional features when running on localhost or any *.local domain even without a domain registration key. Just make a local hosts file that maps the IP to something.local and add that hostname to your IIS site so it will respond to the request. Then you can test all the Professional features.
Another Professional feature you might find helpful would be AllowUpSizing=false.
Once you're happy that ImageGen Professional meets your needs just purchase a domain registration key for the live domain from my website at http://www.percipientstudios.com/imagegen/purchase.aspx
Wow, silly me, I must have overlooked that completely. I was even wondering why I couldn't find a donation link! You may want to update the project page to note there are two separate versions: http://our.umbraco.org/projects/website-utilities/imagegen
Do I need to purchase 2 licenses, one for the future domain and one for the current IP?
If you can't set up a local hosts file or a local DNS entry to have a .local domain for your dev site then yes you'll need two keys. But if that's the case shoot me an email and I'll give you a free development-use-only key so you only need to purchase one key for the live domain.
Actually, it is the same version - it's just that you need a key to activate the Professional features. I thought the docs were clear on that but maybe I need to be a bit more 'pushy' in what I casually refer to as my 'marketing' efforts :)
Haha, truth be told, it was my fault really. I opened the manual but scrolled directly to the maxwidth documentation. It's even marked as ImageGen Professional!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted