aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/object/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index ba3bb0272..24c9dfd7a 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -201,7 +201,7 @@ if ($photo_tags) {
</ul>
</div>
<div id="tidypics_image_wrapper">
- <?php echo '<img id="tidypics_image"' . ' src="' . $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid=' . $file_guid . '&size=large" alt="' . $title . '"/>'; ?>
+ <?php echo "<a href=\"{$vars['url']}action/tidypics/download?file_guid={$file_guid}&amp;view=inline\" title=\"{$title}\"><img id=\"tidypics_image\" src=\"{$vars['url']}mod/tidypics/thumbnail.php?file_guid={$file_guid}&amp;size=large\" alt=\"{$title}\" /></a>"; ?>
<div class="clearfloat"></div>
</div>