This module is perfect for a 'top' position in the basic joomla install (where the little newsflash tidbit is).
After replacing/unplublishing the mod_newsflash and replacing it with the random image module, the 'link' url was live in the non-image parts of the random image table -- no big deal there... but then also made some other areas (blog, contact to name a couple) linked to the 'link' url.
Beginning at line 40 in mod_twg_random_image.php:
Code:
if ($link) {
echo '<a href="'. $link .'" target="_self">';
}
.. I commented this out and link problems went away. Not real sure about how the template, modules, and such all mesh but it seems like the code above must be spilling into other areas because of an unclosed span,div,etc.