PHP GD dpi size?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baylormj
    New Member
    • Mar 2007
    • 2

    #1

    PHP GD dpi size?

    HELP!
    I have been poking at this for a week. Website where users can upload photos. When a photo is uploaded that is 96dpi there are no problems. Anything over 96 it wont take. I have my max size, height set high. But I don't see any requirements for dpi anywhere. Any ideas?

    PHP 4.3.11 Linux
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    As far as the system is concerned, an image is just another file (with some perks). In my opinion dpi is not the issue here.

    Show your code and maybe we can help you find the cause of the error. And do not forget to show the code within php or code tags, as stated in the Posting Guidelines!

    Ronald :cool:

    Comment

    • baylormj
      New Member
      • Mar 2007
      • 2

      #3
      It has been solved somewhat. The problem lies in the file extension. A jpg file will load. A JPG file will not. Upper or lower case I didnt think it would matter.

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        Glad you found the reason and shared it.

        Ronald :cool:

        Comment

        Working...