Copied to clipboard

Flag this post as spam?

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


  • Carl Schéle 4 posts 24 karma points
    Mar 05, 2012 @ 09:49
    Carl Schéle
    0

    Doesn't work with Virtual Directory

    Hello!

    We are several developers working with the same project hence we want to use a virtual media directory for easier access to images. For some reason ImageGen 2.5.7 doesn't work in this environment. The imageurl is roughly something like this \\testweb\projectname\web\media\randomimage.png. Have I missed a setting somewhere or is this a bug?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 05, 2012 @ 10:20
    Douglas Robar
    0

    To avoid potential security hacks where someone tries to use ImageGen to probe your directory structure and servers, your images must reside within the website's folder structure. Or, alternately, you can use the ImageBaseDir feature of ImageGen Professional to expressly allow access to images in folders outside the website. 

    cheers,
    doug. 

  • Carl Schéle 4 posts 24 karma points
    Mar 05, 2012 @ 10:22
    Carl Schéle
    0

    Will ImageBaseDir work with the demo version and localhost?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 05, 2012 @ 10:37
    Douglas Robar
    0

    There's no 'demo' version of ImageGen. You download ImageGen Basic (the free one) and can use it as much as you like. If you need the additional Professional features you'd need to buy a key to unlock the Pro features for your domain. The ImageBaseDir option is a Professional feature.

    But you can always "try before you buy"... all ImageGen Professional features are enabled when running ImageGen on either localhost or any *.local domain. No purchase necessary in that case.

    cheers,
    doug. 

  • Carl Schéle 4 posts 24 karma points
    Mar 05, 2012 @ 10:59
    Carl Schéle
    0

    Brilliant! Already bought the professional version for a client but don't (can't) want to implement it in our developerenvironment.

  • Yarik Goldvarg 35 posts 84 karma points
    May 24, 2012 @ 11:22
    Yarik Goldvarg
    0

    Hello.

    I have a same issue.

    Media folder is located on shared storage \\umbraco\mysharedfolders\media

    and i create a virtual directory with "media" alias  and point to shared storage

    In ImageGen.config i add to default class property 

    <Class Name="default" OverridesQueryString="true">

    <AllowUpsizing>false</AllowUpsizing>

    <MaxHeight>800</MaxHeight>

    <MaxWidth>800</MaxWidth>

      <ImageBaseDir>\\umbraco\mysharedfolders</ImageBaseDir>

    </Class>

     

    And i get the following error:

    File not found: meida/8119/carusel1.jpg. Double-check the ImageBaseDir setting in the ImageGen.config file.

    Please help me 

Please Sign in or register to post replies

Write your reply to:

Draft