Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike 56 posts 88 karma points
    Jul 11, 2011 @ 16:44
    Mike
    0

    Maxwidth and 2.5.2

    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.2
    Umbraco version 4.5.2, .NET 4

    Thanks for your assistance!

  • Jan Skovgaard 11256 posts 23495 karma points MVP 7x admin c-trib
    Jul 11, 2011 @ 16:58
    Jan Skovgaard
    0

    Hi Mike

    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.

    /Jan

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jul 11, 2011 @ 17:00
    Douglas Robar
    0

    Hi, Mike,

    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

    cheers,
    doug. 

  • Mike 56 posts 88 karma points
    Jul 11, 2011 @ 17:13
    Mike
    0

    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?

    Thanks guys.

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jul 11, 2011 @ 17:19
    Douglas Robar
    0

    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.

    cheers,
    doug 

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jul 11, 2011 @ 17:20
    Douglas Robar
    0

    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 :)

    cheers,
    doug. 

  • Mike 56 posts 88 karma points
    Jul 11, 2011 @ 17:24
    Mike
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft