ZenphotoCMS Forum
Picture brocken after download - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Picture brocken after download (/thread-9280.html)



Picture brocken after download - arnaudOz - 2011-11-18

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




Picture brocken after download - fretzl - 2011-11-18

Could you please be more specific?

What Zenphoto version?, what theme? and in what way did you download the image?




Picture brocken after download - arnaudOz - 2011-11-18

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.




Picture brocken after download - fretzl - 2011-11-19

Is download_file.php a custom script?




Picture brocken after download - acrylian - 2011-11-20

Neither the full image download nor the downloadlist plugin does it this way so it must be a custom script.