[Typo3] mit_download and imagemagick

Bart Aninowski bart at sonik.pl
Mon May 23 22:07:12 CEST 2005


> any idea how do that?
>
I found solutions.
This is not a problem with IM but with mid_download ext
I made small modifications to class.tx_mitdownload_pi1.php
in function  function getDownloadFile($uid)

I changed

    fpassthru($fp);

into

while(!feof($fp)) {
        $buf = fread($fp, 4096);
     echo $buf;
   $bytesSent+=strlen($buf);    /* We know how many bytes were sent to the 
user */
  } 





More information about the TYPO3-english mailing list