summaryrefslogtreecommitdiff
path: root/views/randimg.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/randimg.html.php')
-rw-r--r--views/randimg.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/randimg.html.php b/views/randimg.html.php
index 6cf0943..52d4d78 100644
--- a/views/randimg.html.php
+++ b/views/randimg.html.php
@@ -12,7 +12,7 @@ $virtpath = $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']);
$g3path = "{$_SERVER['HTTP_HOST']}{$_SERVER['SCRIPT_NAME']}";
echo <<<HTML
-<a href="http://$g3path/$imgpath" title="$img_title">
+<a href="http://$g3path/$linkpath" title="$img_title">
<img src="http://$virtpath/var/resizes/$imgpath" style="border: thin solid black;" alt="$img_title" />
</a>