Member
Member
arnaudOz   18-11-2011, 12:01
#1

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

Administrator
Administrator
fretzl   18-11-2011, 12:22
#2

Could you please be more specific?

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

Member
Member
arnaudOz   18-11-2011, 14:13
#3

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.

Administrator
Administrator
fretzl   19-11-2011, 08:38
#4

Is download_file.php a custom script?

Administrator
Administrator
acrylian   20-11-2011, 19:45
#5

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.