flash/swf height width in CodeIgniter 1.6

In libraries/Upload.php

Edit the function is_image().

add the ‘application/x-shockwave-flash’ in $img_mimes

$img_mimes = array(

It simply allow set_image_properties function to read the height & width for flash.

//now this will not call for flash
if ( ! $this->is_image())

Leave a Reply

Your email address will not be published. Required fields are marked *