In Drupal 7;
Is there a module for Drupal 7 doing this?
Thank you.
In short...yes!
You can install the Media module along with Remote Stream Wrapper module.
When you add your new image field, choose the 'Media file selector' widget. This:
Provides the ability to use external files with file fields without saving the files to your local files directory. Also provides a 'Remote URL' browser plugin.
A further look at the module page for Remote Stream Wrapper says it does this:
By default the module adds support for any URL using http://, https://, or feed://
Which i think is exactly what you're after.
I'd also recommend installing the Media Browser Plus module which provides a better browser for when your users are picking images.
In Drupal 7 you already have Imagecache as a core module. All you have to do is to install Imagecache External. This is an utility module to allow you to use imagecache(D6)/image derivatives (D7) with external images. After enabling the module, set the following permissions:
Configuration
The module's default configuration is very restrictive. Excluding admin user or users with the 'Bypass black/white list' permission - the default configuration of the module is to deny all requests to fetch external images. So to get the module to work, you need to visit admin/settings/imagecache_external and either:
Add some domains to the whitelist -or-
Switch the mode of operation from whitelist to blacklist
I hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With