Bug


#1

Some cameras save .jpg images with the file extension in capitals (.JPG)
Uploading one of these images to rtMedia on a linux server causes a bug: The images upload in the background, but there is nothing to show the user that they are uploading.
I added this to /app/admin/RTMediaAdmin.php:

  
$not_supported_image = array_diff ( array( 'jpg', 'jpeg', 'png', 'gif', 'JPG', 'JPEG', 'PNG', 'GIF' ), $upload_filetypes );  

and this to /app/main/RTMediaAdmin.php:

  
function set_allowed_types() {  
        $allowed_types = array(  
            'photo' => array(  
                'extn' => array('jpg', 'jpeg', 'png', 'gif', 'JPG', 'JPEG', 'PNG', 'GIF'),  
            );  
        );  
}  

Please add to future releases


#2

Hi @glyndavidson,

Thanks for reporting this issue.

It has been fixed and will reflect in our next release.


#3

Hi @glyndavidson,

Extension with capitals are added in the latest release of rtMedia i.e v3.4.3. Please update the plugin and check for the same.

Thanks again for reporting the issue and in future, if you face any issues, please feel free to contact us.


#4