1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Image upload file type problem.

Discussion in 'PHP' started by l3vi, May 1, 2008.

  1. #1
    I have a user that is having problems uploading jpg images. I asked them to send me one of these images. The images had been shot with a Canon PowerShot G7, and I assumed saved as a JPG on the camera, then uploaded to the users PC.

    What I don't get, is when I tested the image file type it comes back as blank. I cant sort out why the images don't have a file type when uploaded.

    I took the same image that failed and re-saved it with Photoshop as jpg, and was able to upload it.

    Any ideas?
     
    l3vi, May 1, 2008 IP
  2. danzor

    danzor Peon

    Messages:
    208
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Post your code.
     
    danzor, May 1, 2008 IP
  3. l3vi

    l3vi Peon

    Messages:
    375
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is no need to post code, and I cant under company terms. We are not talking about a coding bug, but something within the image that is not complying to standards.
     
    l3vi, May 1, 2008 IP