zenphoto forums » Usage Support

Full Image Corrupt

(8 posts)
  1. dbatten

    Apprentice
    Joined: Jan '08
    Posts: 4

    Though most images are being generated perfectly, zenphoto gives corrupt jpeg files when I try to download the full image.

    Anybody know of a fix/workaround?

    Posted 5 years ago #
  2. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

    Check your cgi error log to see if you are getting memory exceeded errors.

    Also, you can try the nightly build. Last nights build added an option to allow you to control the quality level of the image.

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  3. dbatten

    Apprentice
    Joined: Jan '08
    Posts: 4

    Well, I'm running the nightly build now and I don't see any memory errors, but I did notice something pretty interesting about the jpg files themselves...

    When opened in a text editor, they contain two newline characters followed by <!-- zenphoto version 1.1.3 Theme: default (full-image.php) -->

    Posted 5 years ago #
  4. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

    OK, that is interesting. That we can fix.

    Update: I do see the line in the files, but it has not caused problems with the images I have saved/viewed.

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  5. dbatten

    Apprentice
    Joined: Jan '08
    Posts: 4

    Unfortunately, that's the only thing in my files.

    I'm not using the watermarking or quality adjusting options, so linking straight to the originals would be fine by me, if that's an easy workaround.

    Posted 5 years ago #
  6. tehmartin

    Apprentice
    Joined: Jan '08
    Posts: 3

    Oh oh oh! I may know what is wrong! I just responded to a previous thread which I started, but the switches in full-image.php are case insensitive, so if your images end with anything but .jpg or .jpeg you won't match any cases and you will get that string in your image.

    Posted 5 years ago #
  7. dbatten

    Apprentice
    Joined: Jan '08
    Posts: 4

    Brilliant! Thanks a ton!

    Posted 5 years ago #
  8. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

    OK, we can fix that as well!

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.