Fixed typo
Use fpassthru instead of file_get_contents to avoid loading picture to memory