Ich habe den Mod eingebaut und er funktioniert einwandfrei. Ich benutze das Random Image als Banner für andere User und habe es folgendermassen eingebunden.
Originaldatei
http://www.nicky.net/4images/random.txtSuche in der Random.php
echo "<a href=\"".ROOT_PATH."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br>\n";
echo "<b>$image_name</b><br>\n";
echo "Comments: $image_comments<br>\n";
?>
-------------------------------------------------------------------------------------------------------------------
Ersetze durch
echo "<img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"><br>\n";
?>
--------------------------------------------------------------------------------------------------------------------
Code zum einbinden in eine externe HP.
<a href="http://www.your-domain.com" target="_blank"><font face="tahoma" size="2" color="#000000"><u>Your Text</u></font></a><br>
<iframe src="http://www.your-domain.com/random.php" frameborder="0" marginheight="0" marginwidth="0" height="150px" scrolling="no" width="150px"></iframe>
-------------------------------------------------------------------------------------------------------------------------
Demo hier
http://www.fotogalerie-helgoland.de/linkliste/banner.html--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
I have installed this mod without problems. I use it for other Homepages banner linking to my page.
Originalfile
http://www.nicky.net/4images/random.txtSearch in random.php
echo "<a href=\"".ROOT_PATH."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br>\n";
echo "<b>$image_name</b><br>\n";
echo "Comments: $image_comments<br>\n";
?>
-------------------------------------------------------------------------------------------------------------------
Replace with
echo "<img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"><br>\n";
?>
--------------------------------------------------------------------------------------------------------------------
Code for external homepage
<a href="http://www.your-domain.com" target="_blank"><font face="tahoma" size="2" color="#000000"><u>Your Text</u></font></a><br>
<iframe src="http://www.your-domain.com/random.php" frameborder="0" marginheight="0" marginwidth="0" height="150px" scrolling="no" width="150px"></iframe>
-------------------------------------------------------------------------------------------------------------------------
Demo here
http://www.fotogalerie-helgoland.de/linkliste/banner.htmlDone!