--- providers/custom_url.inc	2009-09-21 16:54:47.000000000 -0400
+++ providers/custom_url.inc	2009-12-17 09:19:55.000000000 -0500
@@ -59,6 +59,13 @@ function emimage_custom_url_data($field,
   return $data;
 }
 
+/**
+ * Thumbnail support
+ */
+function emimage_custom_url_thumbnail($field, $item, $formatter, $node, $width, $height) {
+	return $item['value'];
+} 
+
 function _emimage_custom_url_get_domain_server($url){
   return _emimage_custom_url_get_domain_helper($url);
 }
--- providers/flickr.inc	2009-09-29 15:52:05.000000000 -0400
+++ providers/flickr.inc	2009-12-17 09:19:55.000000000 -0500
@@ -273,3 +273,12 @@ function _emimage_flickr_guess_size($wid
   // If we don't have width or height set, then get the original size.
   return '5';
 }
+
+function emimage_flickr_thumbnail($field, $item, $formatter, $node, $width, $height) {
+	$xml = emimage_flickr_request('flickr.photos.getInfo', array('photo_id' => $item['value']));
+	$image = 'http://farm'. $xml['photo']['farm'].
+			'.static.flickr.com/'. $xml['photo']['server'].
+			'/'. $xml['photo']['id'] .'_'. $xml['photo']['secret']. 
+			'_m.jpg';
+	return $image;
+}
