Get external images without having to upload them

Permalink
Is it possible to add an image directly from the web or through dropbox/google drive etc without having to upload image files from your hardrive.

An interface like google slides - add image or the WIX interface would be great.

 
mhawke replied on at Permalink Reply 1 Attachment
mhawke
The fasted way to get a bunch of files into concrete5's file manager is to FTP them into the /files/incoming folder on your server and then import them through the 'Incoming' tab on the 'Upload Multiple' function. See attached screenshot.

You can import from a URL but you have to add each file on single lines which is a pain.
somesayinice replied on at Permalink Reply
It took a while but I looked in tools/remote.php. here is the modified code.
use Concrete\Core\Support\Facade\Application;
   function getImgViaURL($this_url) {
      $app = Application::getFacadeApplication();
      $cf = $app->make('helper/file');
      $file = $app->make('helper/file');
      $fp = FilePermissions::getGlobal();
      $valt = $app->make('helper/validation/token');
      $app->make('helper/mime');
      $error = $app->make('helper/validation/error');
       // $this_url = trim($_REQUEST['url_upload_' .$i]);
      $client = $app->make('http/client');
      $request = $client->getRequest();
      $request->setUri($this_url);
      $response = $client->send();
      if ($response->isSuccess()) {


Hope it helps someone. Took me a while.

Oh and if you get a uri string error from zend, just make sure there aren't any funky characters in you uri string. I had to str_replace a bunch of soft hyphens.