upload JPG becomes PJPEG

Help
Mathi
2006-05-09
2013-04-08
  • Mathi

    Mathi - 2006-05-09

    Hello,
    phpMyWAP works great except for one thing: uploading a JPG seems to be registered as image/pjpeg in the database. My phone doesn't recognise it as an image. I modified uploadprocess.php, and added

    if($SrcFileType=="image/pjpeg") {
                    $SrcFileType = "image/jpeg";
         }

    which makes it work !

    Thanks,
    Mathi.

     
    • Theodore R Campbell Jr

      I'm pretty sure this isn't a bug in phpMyWAP but in how your jpeg is created. If you would, please forward me the jpeg that was causing you problems to trcjr@users.sourceforge.net.
      Thanks
      Theodore

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks