Picture brocken after download

Hi all,

After downloading, the JPEG image is corrupted. I edit the file with TextPad, and I found the url of the image on the server before the binary code of the image. If I remove the url, the image is not corrupt.

Why Zenphoto add the URL to JPG? And how to fix this problem?

Thank you for your help

Comments

  • fretzl Administrator, Developer
    Could you please be more specific?

    What Zenphoto version?, what theme? and in what way did you download the image?
  • It's Zenphoto version 1.4.1.4, and I use a custom theme.

    For download, I use a link like this :
    download_file.php?filename=URL , where URL is getFullImageURL().

    It worked before an update of Zenphoto.
  • fretzl Administrator, Developer
    Is `download_file.php` a custom script?
  • acrylian Administrator, Developer
    Neither the full image download nor the downloadlist plugin does it this way so it must be a custom script.
Sign In or Register to comment.