we are using Image gen to ensure images get displayed at the right ratios across the entire site, the dimension vary from page to page and i have been using this without using the querystring class paramter. eg (/ImageGen.ashx?image=/media/11223/slide1.png&format=png&compression=80&width=680px&constrain=true)
The problem i have is that on the live system we have the Media folder has been moved to a seperate drive (F). In IIS we have created a virtual directory called media and pointed it to the correct folder if i try to directly browse to an image in the media folder then it appears (eg http://domainname.com/media/11223/slide1.png)
I have tried to add in the <ImageBaseDir>F:\media</ImageBaseDir> to the default class but that hasnt corrected the problem. The error i get is -- Requested image path is not allowed -- any help would be greatly appreciated
I have managed ot get this working by changing the url to a .local domain name. Is this feature only available under license? i have tried to look at the feature list http://www.percipientstudios.com/imagegen/features.aspx but it doesnt mention this feature ... can you please let me know if this is a professional feature.
Media on seperate drive
Hi,
we are using Image gen to ensure images get displayed at the right ratios across the entire site, the dimension vary from page to page and i have been using this without using the querystring class paramter. eg (/ImageGen.ashx?image=/media/11223/slide1.png&format=png&compression=80&width=680px&constrain=true)
The problem i have is that on the live system we have the Media folder has been moved to a seperate drive (F). In IIS we have created a virtual directory called media and pointed it to the correct folder if i try to directly browse to an image in the media folder then it appears (eg http://domainname.com/media/11223/slide1.png)
I have tried to add in the <ImageBaseDir>F:\media</ImageBaseDir> to the default class but that hasnt corrected the problem. The error i get is -- Requested image path is not allowed -- any help would be greatly appreciated
Thanks
I have managed ot get this working by changing the url to a .local domain name. Is this feature only available under license? i have tried to look at the feature list http://www.percipientstudios.com/imagegen/features.aspx but it doesnt mention this feature ... can you please let me know if this is a professional feature.
Thanks
Hi, Asif,
Glad you got it working!
Yes, using remote images or the <class> or the <ImageBaseDir> features all require ImageGen Professional.
For anyone else looking into this, you might find this forum thread helpful background reading. http://our.umbraco.org/projects/website-utilities/imagegen/imagegen-bugs/33553-Unable-to-get-the-ImageBaseDir-working-on-localhost
cheers,
doug.
is working on a reply...