Pages: [1]
Author Topic: How to add the .bpm extension to upload game images  (Read 1356 times)
fernando gomez
Guest


Email
on: Apr 24, 08, 08:36 AM

How to add the .bpm extension to upload game images
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Apr 24, 08, 12:06 PM

what for?  bmp file is 10 times larger than jpg or gif, and your sile will load slower. I'd suggst you to just convert your bmp files to jpg using any freeware batch image converter (use google to find one)
Logged
fernando gomez
Guest


Email
Reply #2 on: Apr 24, 08, 12:20 PM

Please... I want to add the extension xD

How do i do it..
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #3 on: Apr 24, 08, 12:32 PM

ok, it's your decision...
open the "include/config.php" file and modify this line:
Code:
$cImgExt = array( 'jpg', 'gif', 'png' );

it must be
Code:
$cImgExt = array( 'jpg', 'gif', 'png', 'bmp' );
Logged
Pages: [1]
 
Jump to: