function load_image() {
header('ETag: 8ba645e803f8dc1020b1a74b5ec03fba');
header('Last-Modified: Tue, 21 Jul 2015 10:36:31 GMT');
header('Content-Type: image/jpeg');
header('Content-Length: 41374' );
echo readfile("images/France/paris.jpg");
exit;
}
I have this codeigniter function which should read image and load it in browser but I have the error
/France/paris.jpgâ cannot be displayed because it contains errors.