Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Can I use imagegen to get images from an external site like google drive?
I'm not quite sure what you have in mind?
You should be able to use imagegen for external images if you reference them from other sources - I have done that in a couple of projects - Is that what you're asking? :)
EDIT: You just call imagegen like you would with an image from Umbraco and replace the umbraco path with your external path...does that make sense?
my goal is to let users upload images to google drive an then use them on a website if they named the file in a correct format.
Btu I just found out about the
Hmm....I might be wrong then...Perhaps you need to allow for external domains to be used somewhere in some configuration in the web.config or elsewhere. Don't know if you perhaps need an xml cross-domain-policy thingy in the root of your sites file-system?
I have used images directly from the disk, which have not been uploaded into Umbraco but your scenario is of course different since you reference a 3rd party domain...silly me :)
and thanks, imagegen.config has a whitelist section where I have inserted the domain
but still I get a error message when pointing imagegen to the the image http://www.googledrive.com/host/0B5V0PrVGnNpffkRQaHVET3B0V0NoT3AwQlQ1WnA1aVM1R05pOXdsOVNWNlV1RkJ1d1dod3M/20130906_164807.jpg
Maybe its a licens issue
What you have should be fine, but you will need ImageGen Professional to use remote images. You can check if you're running in Basic (free) or Professional mode by issuing /imagegen.ashx?version.
You will also have Pro features enabled when you're running on localhost or any *.local domain. For live domains you'd need to purchase a domain key.
Hope this helps. Let us know what you find out.
and thanks for your answer, the response is this ImageGen version 184.108.40.206932(professional features enabled for localhost) (I am running local with this hostheader local.ev.dk) but when I call a remote image like this https://www.google.dk/images/srpr/logo11w.png I still get the message "Only ImageGen Pro can display remote images"
So how can I test this feature without buying a licens?
If you can add a hostheader and dns (or local hosts file) entry so that your site also responds to something that ends with .local then you'll have the Professional features enabled and you can test the remote images feature. Or, if you can also run your site from localhost that would likewise put ImageGen into Professional mode for testing.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted