Hi,

I'm trying to wrap my head around how to get this module working with a normal file / image field.
I need to display images that are currently stored remotely in nodes, but given the size and amount of images (around 40GB), I'd love to use this module to have Drupal display the image field from it's remote location, instead of storing a copy locally (or only a small derivative locally, through image styles).

However I don't know how to enable this on a normal image field, since the only 2 stream wrappers available there are Public & Private. That makes sense, since they are writable, whereas the remote stream wrapper only allows for reads.

Perhaps this is related to #1231622: Create a new file/image field widget for remote files. If so, could you elaborate a bit on the details that would need to be implemented in that ticket?
Once I see everything bright, I could try to help write that widget...

Thanks for your awesome work all around!

Comments

tshakah’s picture

Subscribe

webadpro’s picture

Any update?

dave reid’s picture

Status: Active » Fixed

The only way to use this module currently with Image and File fields is to install the Media module, change the field widget for your desired field to use the 'Media file selector' widget, and then use the 'Remote URL' media browser tab when clicking the 'Select media' button on the field.

Otherwise you'll want to use #1231622: Create a new file/image field widget for remote files.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

web226’s picture

Issue summary: View changes

Thanks Dave Reid, your comment in #3 helped me figure this out!