[TASK] Use a larger preview image in show_item (launchView)
authorFelix Kopp <felix-source@phorax.com>
Sat, 13 Aug 2011 20:43:08 +0000 (22:43 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 Aug 2011 14:40:33 +0000 (16:40 +0200)
Increase the size of the image in show_item (launchView).
This window is displayed when a image in list or file_list is clicked.

Change-Id: I5b347a15c04b082b015d99fb2e80d486667a3398
Resolves: #28963
Releases: 4.6
Reviewed-on: http://review.typo3.org/4307
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/show_item.php

index 7840997..92fda34 100644 (file)
@@ -334,7 +334,7 @@ class SC_show_item {
                        // If the file was an image...:
                if (is_array($imgInfo)) {
 
-                       $imgInfo = $imgObj->imageMagickConvert($this->file,'web','346','200m','','','',1);
+                       $imgInfo = $imgObj->imageMagickConvert($this->file,'web','520','390m','','','',1);
                        $imgInfo[3] = '../'.substr($imgInfo[3],strlen(PATH_site));
                        $code = '<br />
                                <div align="center">'.$returnLinkTag.$imgObj->imgTag($imgInfo).'</a></div>';