Author Topic: 1.7.8 - Invalid file type - big letters (JPG, JPEG)  (Read 3972 times)

0 Members and 1 Guest are viewing this topic.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
1.7.8 - Invalid file type - big letters (JPG, JPEG)
« on: September 16, 2010, 07:02:01 PM »
Does anyone else have problem with with uploading files that have extension JPG or JPEG (with big letters)?

I have added two new lines in files upload_definitions.php and it looks like it's working now:
Code: [Select]
$mime_type_match['JPG'] = array("image/jpg", "image/jpeg", "image/pjpeg");
$mime_type_match['JPEG'] = array("image/jpg", "image/jpeg", "image/pjpeg");

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: 1.7.8 - Invalid file type - big letters (JPG, JPEG)
« Reply #3 on: September 23, 2010, 12:48:47 PM »
Guess I've missed that, thx!