Copied to clipboard

Flag this post as spam?

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


  • Thomas Kahn 602 posts 506 karma points
    Mar 12, 2013 @ 09:53
    Thomas Kahn
    0

    Running ImageGen on localhost with port number?

    Hi!

    I have purchased a license for ImageGen Professional, but the registered domain is the clients domain so it's not working while I'm developing their site.

    But on my development machine I run the web on localhost, but there's a port number as well since I work with many different sites on the same machine. When I try to make the images scale above 800 pixels (which should be possible when running the pro version or when developing on localhost) it won't work. Could this be because I'm using a port number, like this:

    http://localhost:9098

    Is there a way to solve this? It would be very frustrating to have to upload the site to the clients live server every time I need to test the functionality of ImageGen Professional. Not only because it's bad practice to use the live server for testing but also because we use build scripts so I would have to build the site every time before I upload it.

    Regards,
    Thomas

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 12, 2013 @ 10:09
    Douglas Robar
    100

    Hi, Thomas,

    ImageGen Professional is always active on localhost no matter what the port number (I do this all the time with . I suspect the reason you can't resize larger than 800px is because of the settings in the /config/imagegen.config file that prevent it (look in the class="default" section). Probably you just need to get the /config/imagegen.config file from the live server so that both it and your development site are running with the same settings.

    cheers,
    doug. 

     

  • Thomas Kahn 602 posts 506 karma points
    Mar 12, 2013 @ 10:16
    Thomas Kahn
    0

    Hi Doug!

    Thanks for the ultra swift reply!

    I have altered the default section in imageGen.config to reflect my needs, like this:

     <Class Name="default" OverridesQueryString="true">
     <AllowUpsizing>false</AllowUpsizing>
     <MaxHeight>2200</MaxHeight>
     <MaxWidth>2200</MaxWidth>
     </Class>

    But this config-file is only present on localhost at the moment. The reason is that there is an old web (not an Umbraco site) on the clients domain at the moment. We're doing a remake of that site and I don't have FTP access to the live server yet.

    /Thomas

Please Sign in or register to post replies

Write your reply to:

Draft