View Issue Details

IDProjectCategoryView StatusLast Update
0005848mantisbtbugtrackerpublic2005-07-23 02:21
Reportermalaussena Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Fixed in Version1.0.0rc1 
Summary0005848: 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 ) ) ) {

TagsNo tags attached.

Activities

There are no notes attached to this issue.