diff options
author | BlueTeck <tili2@gmx.de> | 2015-04-09 09:01:29 +0200 |
---|---|---|
committer | BlueTeck <tili2@gmx.de> | 2015-04-09 09:01:29 +0200 |
commit | c1329ac7c45baf3c824b91f043e70a2f6b072785 (patch) | |
tree | adfb0b39db42d2af72a08b74903d929e263a0420 /app/Template/file/show.php | |
parent | 4460851615d16b1ad0047b3d21389396d8ce5234 (diff) |
#779 remove image hover and center thumbnail
Diffstat (limited to 'app/Template/file/show.php')
-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 bfed94a5..66e1afd9 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, '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, 'resize_cut' => 1, 'file_id' => $file['id'], 'project_id' => $task['project_id'], 'task_id' => $file['task_id'])) ?>" alt="<?= $this->e($file['name']) ?>"/> </div> <?php endif ?> <p> |