Scale images to viewable space
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Mar 2021 05:20:39 +0000 (05:20 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Mar 2021 05:20:39 +0000 (05:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14911 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/image.php

index 3d603c67ac8da40277f9a8c0acd5da4e9c3c6de7..949f2a8f2b8967823cc7ba36b5c72ce45cdb4bf8 100644 (file)
@@ -52,7 +52,7 @@ $DownloadLink = '../src/download.php?passed_id=' . $passed_id .
 
 <table border="0" cellspacing="0" cellpadding="2" align="center">
 <tr><td bgcolor="<?php echo $color[4]; ?>">
-<img src="<?php echo $DownloadLink; ?>" />
+<img width="100%" src="<?php echo $DownloadLink; ?>" />
 
 </td></tr></table>
 <?php