Active
Project:
Remote Stream Wrapper
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2012 at 10:15 UTC
Updated:
24 Feb 2013 at 23:12 UTC
I thought that it would, but I tried it and got an error generating style, but works fine using local images.
Am I trying to do something that this doesn't allow, or missing something in how to use it?
Thanks in advance!
My code:
$config = array(
"style_name" => "120x120",
"path" => 'http://mod-store.com.au/images/x.jpg',
"height" => NULL,
"width" => NULL,
);
print theme('image_style', $config);
outputs:
<img class="adaptive-image" typeof="foaf:Image" src="http://ebay.mod-store.com.au/sites/default/files/styles/120x120/adaptive-image/http/mod-store.com.au/images/x.jpg" alt="" />
Comments
Comment #1
dariogcode commentedI have the same question. I'm trying to use this with facebook profile pictures. ".../sites/default/files/styles/thumbnail/https/graph.facebook.com/100004558656589/picture%3Fwidth%3D32%26height%3D32" but got the error "'Error generating image".
Comment #2
dgorton commentedRan into this same problem/need. Solved it with http://drupal.org/project/imagecache_external