You are here: Re: Uploading JPG's « All PHP « IT news, forums, messages
Re: Uploading JPG's

Posted by David Quinton on 09/28/62 11:56

On 24 Aug 2006 07:58:40 -0700, "Mike" <mike@mjfcadsolutions.co.uk>
wrote:

>I have an upload script which works pretty good.
>
>I use it to upload JPG's but I have come accross the following problem.
>
>It appears that only certain types of JPG's are being accepted.
>
>What I have worked out that if I take an image straight off my digital
>camera (JPG) and try and upload that, it produces an error. I trap for
>file types and size and it won't reconise the file type.
>
>If I take the same image, open it in my graphic package (corel draw in
>this case) and save it as a new file, the upload accepts it.

I agree with the other 2 replies but would add:
is it not possible that this is a filesize issue?
Maybe your server has a limit on upload file sizes?

Uncompressed images from cameras can be a meg in filesize.

Saving with your graphics package quite possibly applies compression
to the image - hence a smaller filesize, hence it uploads OK?
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация