Does imagegen work with external images? For example could I feed it a Flickr image URL or an image on another website? I have tried to pass it an image from a different website in the hope it would resize but it doesn't return an image?
Works great! But you'll need ImageGen Professional to use remote images. (remember that localhost and *.local domains always have Pro features enabled for testing) You'll also need to set up the remote domain white list in the ImageGen.config file to allow flickr to work. See the PDF docs for all the details.
Ahh. You're out of luck in that case. But I'd use gravatar.com for that and they do the avatar resizing for you. That the way it is usually handled by people these days.
Or, you could have them upload an image for use as their forum avatar if you'd rather. Then it would be local and part of their member profile. Then ImageGen could resize it for you without making a remote call for the image (better performance).
External Images?
Hey Doug..
Does imagegen work with external images? For example could I feed it a Flickr image URL or an image on another website? I have tried to pass it an image from a different website in the hope it would resize but it doesn't return an image?
Hi, Lee,
Works great! But you'll need ImageGen Professional to use remote images. (remember that localhost and *.local domains always have Pro features enabled for testing) You'll also need to set up the remote domain white list in the ImageGen.config file to allow flickr to work. See the PDF docs for all the details.
Just shout if you can't get it sorted out.
cheers,
doug.
Hey Doug - Its all good, I wasn't referencing the ashx properly :) Will buy a pro license shortly, still developing everything.
Thanks
Sorry doug I have just seen the whitelist section in config, can you set it to allow any external domain? Say with a wild card?
No, as the documentation says, you need to be specific.
To quote from the ImageGen Reference Manual...
For services such as Flickr that use multiple domains, you would list them all.
cheers,
doug.
Thanks... But that won't work, I was going to use it for resizing peoples avatars on a forum.
And I have no idea what the domains are likely to be, as people use so many different image hosting sites and of course their own websites.
Ahh. You're out of luck in that case. But I'd use gravatar.com for that and they do the avatar resizing for you. That the way it is usually handled by people these days.
Or, you could have them upload an image for use as their forum avatar if you'd rather. Then it would be local and part of their member profile. Then ImageGen could resize it for you without making a remote call for the image (better performance).
cheers,
doug.
is working on a reply...