if you use unmodified code from the original tutorial on first page of this topic, you should not see all the parent categories in the links, only current category name.
as of links to image details, in includes/sessions.php find //return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;
replace it with return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;