Index: taxonomy_image.module =================================================================== --- taxonomy_image.module (revision 8) +++ taxonomy_image.module (working copy) @@ -241,6 +241,7 @@ // Not cached, so go build it. if ($image[$tid] = db_fetch_object(db_query('SELECT i.path, d.name, d.description FROM {term_image} i INNER JOIN {term_data} d USING(tid) WHERE i.tid=%d', $tid))) { $image[$tid]->url = file_create_url($mypath . $image[$tid]->path); + $image[$tid]->fullpath = $fullpath . $image[$tid]->path; } elseif ($recursive) { // Walk up the taxonomy hierarchy and look for an image. @@ -257,14 +258,13 @@ $term = taxonomy_get_term($tid); $image[$tid]->name = $term->name; $image[$tid]->description = $term->description; -// $image[$tid]->url = file_create_url($mypath . $image[$tid]->path); $image[$tid]->url = url($fullpath . $image[$tid]->path, array('absolute' => TRUE)); } // Get more properties if we had an image. if (!empty($image[$tid]->path)) { $image[$tid]->tid = $tid; -// $img = getimagesize($image[$tid]->path); - $img = getimagesize($image[$tid]->url); + $img = getimagesize($image[$tid]->fullpath); +// $img = getimagesize($image[$tid]->url); // Make sure it worked. if (!$img) { return NULL;