diff --git a/js/auto_image_handling.js b/js/auto_image_handling.js index f9f5a0de1fda16ec0615949fce1ceefaf3ec15d9..c3b5da3744f7f8f676a1e64c3788558d4c9410e9 100644 --- a/js/auto_image_handling.js +++ b/js/auto_image_handling.js @@ -177,7 +177,7 @@ function lightbox2_init_triggers(classes, rel_type, custom_class) { if (download_link_text.length && download) { title_link = title_link + " - " + download_link_text + ""; } - rel = rel + "[" + alt + title_link + "]"; + rel = rel + "[" + img_title + title_link + "]"; $(this).attr({ rel: rel, href: href @@ -191,7 +191,7 @@ function lightbox2_init_triggers(classes, rel_type, custom_class) { rel = rel_type + "["+ id +"]"; } } - rel = rel + "[" + alt + "]"; + rel = rel + "[" + img_title + "]"; $(this).attr({ rel: rel, href: orig_href