When I select 'On remote Server' in the image resize filter I seem to get this error sometimes.

"Notice: Undefined offset: 2 in drupal_http_request() (line 986 of /home4/(.....)/includes/common.inc)"

I display a lot of embedded images from smugmug and would like to optimize them and send them off to my CDN. Is such a task just too memory intensive? I have 128M enabled on my php.ini file. You can check out the site at http://alikgriffin.com to kind of see what I'm talking about.

Any advice on this problem would be much appreciated.