diff --git a/staticmap.module b/staticmap.module
index f4f3a03..b0aee20 100644
--- a/staticmap.module
+++ b/staticmap.module
@@ -164,7 +164,7 @@ function staticmap_field_formatter_view($entity_type, $entity, $field, $instance
 
         $size = explode('x', $parameters['size']);
         $element[0] = array(
-          '#markup' => theme('staticmap_map', array('path' => $provider->api_uri . http_build_query($parameters), 'width' => $size[0], 'height' => $size[1])),
+          '#markup' => theme('staticmap_map', array('path' => url($provider->api_uri, array('query' => $parameters, 'absolute' => 'TRUE')), 'width' => $size[0], 'height' => $size[1])),
         );
       }
       else {
