diff --git includes/theme.inc includes/theme.inc index c8857f6..b705f4f 100644 --- includes/theme.inc +++ includes/theme.inc @@ -1187,6 +1187,8 @@ function theme_links($links, $attributes = array('class' => 'links')) { * * @param $path * Either the path of the image file (relative to base_path()) or a full URL. + * If this is a full url, $getsize must be set to FALSE or an empty tag + * will be returned. * @param $alt * The alternative text for text-based browsers. * @param $title @@ -1195,6 +1197,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { * Associative array of attributes to be placed in the img tag. * @param $getsize * If set to TRUE, the image's dimension are fetched and added as width/height attributes. + * Must be set to FALSE if $path is a full URL. * @return * A string containing the image tag. */