I can not generate content-type php output for jpg image

0

Good morning everyone.

I'm trying to make the output of a jpg image content type print only the image, but I can not.

header ("Content-type: image / jpeg");

I put everything in correctly, but going forward when I try to get the data, nothing happens. Displays an empty square. It takes my current URL, but does not follow the path I want.

Does anyone help me output this correctly?

    
asked by anonymous 26.01.2018 / 15:41

0 answers