diff options
author | BlueTeck <tili2@gmx.de> | 2015-04-09 15:20:27 +0200 |
---|---|---|
committer | BlueTeck <tili2@gmx.de> | 2015-04-09 15:20:27 +0200 |
commit | aea3a352aa3a821c5c671e29bd730af79ab599eb (patch) | |
tree | e9d1a0468eaf558e8bec63e79bbba487727013d9 /app/Template | |
parent | bca1012e70db8c23a2a4b2bcf0767a36d1a719ff (diff) |
Simplify and correct thumbnail method
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/file/show.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/file/show.php b/app/Template/file/show.php index 8615079a..eea4a3f6 100644 --- a/app/Template/file/show.php +++ b/app/Template/file/show.php @@ -11,7 +11,7 @@ <li> <?php if (function_exists('imagecreatetruecolor')): ?> <div class="img_container"> - <img src="<?= $this->u('file', 'thumbnail', array('width' => 250, 'height' => 100, 'resize_cut' => 1, 'file_id' => $file['id'], 'project_id' => $task['project_id'], 'task_id' => $file['task_id'])) ?>" alt="<?= $this->e($file['name']) ?>"/> + <img src="<?= $this->u('file', 'thumbnail', array('width' => 250, 'height' => 100, 'file_id' => $file['id'], 'project_id' => $task['project_id'], 'task_id' => $file['task_id'])) ?>" alt="<?= $this->e($file['name']) ?>"/> </div> <?php endif ?> <p> |