php header('Content-Description: File Transfer'); header('Content-Type: ... I'm pretty sure you don't add the mime type as a JPEG on file downloads:
stackoverflow.com