PDA

View Full Version : Bad File Message


JenniferK
03-21-2006, 08:49 PM
I am getting this too: Sorry, JenniferK: Bad File - File is too Large or of the Wrong MIME Type

The image is a jpeg and is 41KB, we have it set to max size of 500KB. We have several members who have uploaded pics without problems, but I can't - I get this error every time, and I've tried different pics. Any ideas?

Edited to add: I was able to upload a gif file (I tried after reading in another thread someone having that problem) But in that thread you said to look in his php info, and he didn't have JPG support enabled - which explained his problem. I just checked my php info, and this is what I get:

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Morgan
03-22-2006, 04:04 PM
Check out the FAQ titled "gd keeps saying it can't find png or jpeg support. I did install libpng and libjpeg. What am I missing?" at http://www.boutell.com/gd/faq.html. What 'Configure Command' is showing on your phpinfo page? Also check out Table1 under the 'Requirements' section at http://www.php.net/gd.