--- inline.module_1.31 2008-06-19 15:48:50.000000000 -0700 +++ inline.module_1.31_thickbox 2008-06-19 15:51:01.000000000 -0700 @@ -325,7 +325,8 @@ if (variable_get('inline_link_img', '1')) { $attributes = array( - 'class' => 'inline-image-link', + 'class' => 'inline-image-link thickbox', + 'rel' => 'gallery-' . $file->nid, 'title' => t("View") .': '. $title, ); $html = l($image, $file->filepath, $attributes, NULL, NULL, FALSE, TRUE);