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?
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.
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.
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?
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.
Will ImageBaseDir work with the demo version and localhost?
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.
Brilliant! Already bought the professional version for a client but don't (can't) want to implement it in our developerenvironment.
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
is working on a reply...