getPath('[civicrm.root]/i/tracker.gif'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Content-Description: File Transfer'); header('Content-type: image/gif'); header('Content-Length: ' . filesize($filename)); header('Content-Disposition: inline; filename=tracker.gif'); readfile($filename); CRM_Utils_System::civiExit(); } }