Changeset 2651 for trunk/expressoMail1_2/inc/show_thumbs.php
- Timestamp:
- 04/28/10 14:16:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/show_thumbs.php
r2360 r2651 35 35 $image_mail = imap_fetchbody($mb, $msg_num, $msg_part, FT_UID); 36 36 $image = imap_base64($image_mail); 37 $ image =imagecreatefromstring ($image);37 $pic = @imagecreatefromstring ($image); 38 38 39 header("Content-Type: ".$file_type); 40 header("Content-Disposition: inline"); 41 42 $pic = $image; 43 if ($pic) { 39 if($pic !== FALSE) { 40 header("Content-Type: ".$file_type); 41 header("Content-Disposition: inline"); 44 42 $width = imagesx($pic); 45 43 $height = imagesy($pic);
Note: See TracChangeset
for help on using the changeset viewer.