Index: lightbox2.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/lightbox2.module,v
retrieving revision 1.16.2.16.2.130
diff -u -r1.16.2.16.2.130 lightbox2.module
--- lightbox2.module	27 Oct 2008 17:54:06 -0000	1.16.2.16.2.130
+++ lightbox2.module	2 Dec 2008 18:01:43 -0000
@@ -965,7 +965,11 @@
   $page_list = variable_get('lightbox2_page_list', '');
 
   if (!empty($page_list)) {
-    if (drupal_match_path($_GET['q'], $page_list)) {
+  
+    // Retrieve Drupal alias for the current path (if exists)
+    $alias = drupal_get_path_alias($_GET['q']);
+
+    if (drupal_match_path($alias, $page_list)) {
       return ($action == 'page_disable' ? 1 : 0);
     }
   }

