uploaded jpgs no longer viewable by photoshop?

Discussion in 'Photoshop' started by Theo, Sep 30, 2004.

  1. Theo

    Theo Guest

    Hi all

    Interesting problem. Some jpgs I uploaded to my website work on the pages,
    and will work if I download them and open them in a simple viewer. But they
    will not open in Photoshop, saying there is a disk error. The images are
    uploaded via the normal HTML post method (multipart/form-data - I think Im
    using the right one), and them php moves the uploaded file to another

    Anyone seen this before?

    Theo, Sep 30, 2004
    1. Advertisements

  2. Theo

    edjh Guest

    What OS? How are they named?
    edjh, Oct 1, 2004
    1. Advertisements

  3. Theo

    Theo Guest

    Does it both when running locally on the test server apache/w2k, or when
    uploading to the remote server (unix/linux) and saving from the browser.
    The files do have spaces in them, otherwise there arent any illegal
    characters('my file.jpg') ... maybe its the spaces? I will try that.
    Curious however why a simple viewer would have no problem with the file
    but photoshop would.
    Theo, Oct 1, 2004
  4. Theo

    Mike Russell Guest

    Photoshop has known issues with network files. To isolate this, try copying
    the files to your hard drive and see if they open correctly.
    Mike Russell, Oct 1, 2004
  5. Theo

    Theo Guest

    Thanks, they are on my drive in both cases. Example one: web page running
    off a server at home. On it is a place for browsing and selecting a jpg
    to upload. When it does it goes to the proper folder. After that
    photoshop cannot read it. Example two: operate the same except the web
    page is on a remote server. Open the web page with the picture on a
    browser, select the picture and save to desktop... picture isnt
    readable... by photoshop. Both situations used the same method, and page,
    to upload the images, either locally or remotely. Kinda funny problem
    that Im sure has a simple solution ;o)
    Theo, Oct 1, 2004
  6. Theo

    Mike Russell Guest

    Theo wrote:
    [re downloaded jpegs getting damaged]
    Check the file lengths. Earlier versions of PHP would truncate binary data
    in certain situations. It may be that Photoshop is fussier about this than
    your other programs, or is interpreting EXIF data at the end of the file
    that is ignored by your simple viewer.
    Mike Russell, Oct 1, 2004
  7. Theo

    Ian Guest

    I know you said that they are on your HD but does this sound familiar?


    Ian, Oct 1, 2004
  8. Theo

    Theo Guest

    Doesnt sound like it. However after further testing some files are doing
    this and others are not, yet all were uploaded using the same method (with
    and without spaces in the filenames). So... I suppose they got messed up
    another way. More testing :eek:)

    Theo, Oct 1, 2004
  9. Theo

    Theo Guest


    I dont think its the absolute latest but would this be considered an
    earlier version? Im not sure about moving up to v5 yet since the remove
    server does not use it.
    Theo, Oct 1, 2004
  10. Theo

    edjh Guest

    Theo wrote:
    Could be a hardware problem. Disk or cable. It might be making minute
    flaws in the file that Photoshop is picky about but other apps ignore.
    edjh, Oct 2, 2004
  11. Theo

    clive Guest

    Had a similar problem a few months ago when images from one machine would
    not open in Photochop after trying everything I knew it was suggested that I
    open them in Irfanview (Available free from www.irfanview.com ) I tried
    this saved them as *.jpg and averything worked fine afterwards. If it works
    it is a simple and easy way of solving your problem.

    clive, Oct 2, 2004
  12. Theo

    Theo Guest

    Yes. Actually I wouldnt even do that, since it recompresses the file. If I
    need to I could simply copy the image to the clipboard, then paste it into
    photoshop. I keep original copies of everything anyway, but Im mostly
    curious about what the problem was. The bad images came from larger
    versions that were sized down in photoshop to begin with. Cant get more
    compatable with photoshop than that ;o)
    Theo, Oct 2, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.