Welcome Guest, Not a member yet? Register   Sign In
$config['max_width'] and $config['max_height'] not working for SWF files
#1

[eluser]xerosis[/eluser]
Can someone tell me why
$config['max_width']
$config['max_height']

are not working for SWF files. I am uploading files, and while JPG, GIF, etc work perfectly fine I can not say the same for SWF files.

I tried:
Code:
list($width, $height, $type, $attr) = getimagesize();

and was able to get the width and height of the SWF file easily.

Can someone tell me what I can do? Can someone help me make my own Library to check height and width of SWF using getimagesize() function?

Thanks a lot.
#2

[eluser]xerosis[/eluser]
I actually fixed it, there were a few changes that need to be made to system/Upload.php; they do not consider SWF files.




Theme © iAndrew 2016 - Forum software by © MyBB