View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005848 | mantisbt | bugtracker | public | 2005-06-27 07:33 | 2005-07-23 02:21 |
Reporter | malaussena | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | git trunk | ||||
Fixed in Version | 1.0.0rc1 | ||||
Summary | 0005848: Allowing preview attachment with jpeg extension | ||||
Description | $g_preview_attachments_inline_max_size allows preview in the bug page for attachment with bmp, png, gif, jpg extension. It would be very useful to extend it to .jpeg extension, because JPEG files uses .jpg or .jpeg extension. It's very easy to get it by replacing line 189 of file_api.php with : ( in_array( strtolower( file_get_extension( $t_file_display_name ) ), array( 'png', 'jpg', 'gif', 'bmp' , 'jpeg' ), true ) ) ) { | ||||
Tags | No tags attached. | ||||