Copied to clipboard

Flag this post as spam?

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


  • Asif Malik 203 posts 339 karma points
    Sep 13, 2012 @ 14:30
    Asif Malik
    0

    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

  • Asif Malik 203 posts 339 karma points
    Sep 13, 2012 @ 18:53
    Asif Malik
    0

    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

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Sep 17, 2012 @ 12:04
    Douglas Robar
    100

    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. 

Please Sign in or register to post replies

Write your reply to:

Draft