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

dariogcode’s picture

I 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".

dgorton’s picture

Ran into this same problem/need. Solved it with http://drupal.org/project/imagecache_external