|
|
Registered User Currently Offline
|
Posts: 4
Join Date: Sep 2009
|
Hello!
Have you ever gotten the following error
message -- Error: Bad or unsupported image format
If so, make sure your "avatars" director
permissions are set correctly, and that you
have configured everything within the
"seo-board_options.php" file.
Still getting the error?
Okay, here's another possibility... when a
person edits and saves a file using MS Paint,
the image file extensions are often in capital
letters... ".GIF", ".PNG", ".JPG", etc etc.
When someone tried adding an image file with
that type of capitalized extension, an error
message (such as the one above) is generated.
Solution:
0) Open the "usercp.php" file.
1) Locate this part:
Code:
$avatar_extensions = array('gif', 'jpeg', 'jpg', 'png');
2) Modify it so it looks like this:
Code:
$avatar_extensions = array('gif', 'jpeg', 'jpg', 'png', 'GIF', 'JPEG', 'JPG', 'PNG');
3) Save the file and the upload it.
. . .
This will enable SEO Board to recognize image
files with capitalized extensions as being valid.
I've tested this, and it works!
|