Changeset 1635
- Timestamp:
- Dec 4, 2006, 11:08:35 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/images/daily_stats.img.php
r1072 r1635 117 117 ImagePNG($image); 118 118 } 119 else if ( $outputFormat == "jpg")119 else if (in_array($outputFormat, array("jpg", "jpeg"))) 120 120 { 121 121 header("Content-type: image/jpeg"); -
trunk/admin/images/global_stats.img.php
r1072 r1635 117 117 ImagePNG($image); 118 118 } 119 else if ( $outputFormat == "jpg")119 else if (in_array($outputFormat, array("jpg", "jpeg"))) 120 120 { 121 121 header("Content-type: image/jpeg"); -
trunk/admin/images/monthly_stats.img.php
r1072 r1635 117 117 ImagePNG($image); 118 118 } 119 else if ( $outputFormat == "jpg")119 else if (in_array($outputFormat, array("jpg", "jpeg"))) 120 120 { 121 121 header("Content-type: image/jpeg"); -
trunk/admin/thumbnail.php
r1631 r1635 52 52 $extension = get_extension($filename); 53 53 54 if ( $extension == 'jpg' or $extension == 'JPG')54 if (in_array($extension, array('jpg', 'JPG', 'jpeg', 'JPEG'))) 55 55 { 56 56 $srcImage = @imagecreatefromjpeg($path); -
trunk/include/config_default.inc.php
r1617 r1635 73 73 74 74 // file_ext : file extensions (case sensitive) authorized 75 $conf['file_ext'] = array('jpg','JPG','png','PNG','gif','GIF','mpg','zip', 75 $conf['file_ext'] = array('jpg','JPG','jpeg','JPEG', 76 'png','PNG','gif','GIF','mpg','zip', 76 77 'avi','mp3','ogg'); 77 78 78 79 // picture_ext : file extensions for picture file, must be a subset of 79 80 // file_ext 80 $conf['picture_ext'] = array('jpg','JPG','png','PNG','gif','GIF'); 81 $conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG', 82 'png','PNG','gif','GIF'); 81 83 82 84 // top_number : number of element to display for "best rated" and "most -
trunk/tools/create_listing_file.php
r1546 r1635 35 35 // $conf['file_ext'] lists all extensions (case insensitive) allowed for 36 36 // your PhpWebGallery installation 37 $conf['file_ext'] = array('jpg','JPG','png','PNG','gif','GIF','mpg','zip', 37 $conf['file_ext'] = array('jpg','JPG','jpeg','JPEG', 38 'png','PNG','gif','GIF','mpg','zip', 38 39 'avi','mp3','ogg'); 39 40 40 41 // $conf['picture_ext'] must be a subset of $conf['file_ext'] 41 $conf['picture_ext'] = array('jpg','JPG','png','PNG','gif','GIF'); 42 $conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG', 43 'png','PNG','gif','GIF'); 42 44 43 45 // $conf['version'] is used to verify the compatibility of the generated
Note: See TracChangeset
for help on using the changeset viewer.