| 1 |
/* $Id: auto_image_handling.js,v 1.1.4.25 2009/07/07 23:31:03 snpower Exp $ */ |
/* $Id: auto_image_handling.js,v 1.1.4.26 2009/07/23 14:50:09 snpower Exp $ */ |
| 2 |
|
|
| 3 |
// Image Node Auto-Format with Auto Image Grouping. |
// Image Node Auto-Format with Auto Image Grouping. |
| 4 |
// Original version by Steve McKenzie. |
// Original version by Steve McKenzie. |
| 131 |
id = $(child).parents("div.block-gallery").attr("id"); |
id = $(child).parents("div.block-gallery").attr("id"); |
| 132 |
rel = rel_type + "["+ id +"]"; |
rel = rel_type + "["+ id +"]"; |
| 133 |
} |
} |
| 134 |
|
download = href; |
| 135 |
} |
} |
| 136 |
|
|
| 137 |
|
|
| 174 |
if (link_text.length) { |
if (link_text.length) { |
| 175 |
title_link = "<br /><br /><a href=\"" + orig_href + "\" id=\"node_link_text\" "+ link_target +" >"+ link_text + "</a>"; |
title_link = "<br /><br /><a href=\"" + orig_href + "\" id=\"node_link_text\" "+ link_target +" >"+ link_text + "</a>"; |
| 176 |
} |
} |
| 177 |
if (download_link_text.length) { |
if (download_link_text.length && download) { |
| 178 |
title_link = title_link + " - <a href=\"" + download + "\" id=\"download_link_text\" target=\"_blank\">" + download_link_text + "</a>"; |
title_link = title_link + " - <a href=\"" + download + "\" id=\"download_link_text\" target=\"_blank\">" + download_link_text + "</a>"; |
| 179 |
} |
} |
| 180 |
rel = rel + "[" + alt + title_link + "]"; |
rel = rel + "[" + alt + title_link + "]"; |