The background of our website is apache + php, and the business process will generate an image in JPEG format. There is an img tag at the front end, and set src to the image for display, at present, images may not be displayed in a probabilistic manner. images downloaded through ftp can be normally displayed. Images loaded using src are used... the background of our website is apache + php, and the business process will generate an image in JPEG format. There is an img tag at the front end, and set src to the image for display, currently, images may not be displayed in a probabilistic manner. images downloaded through ftp can be normally displayed. the following error is displayed after the images loaded using src are opened in Notepad:
Warning: Unexpected character in input: '' (ASCII=7) state=0 in /tmp/img1.jpeg on line 1854
Parse error: in /tmp/img1.jpeg on line 1854
I wonder if anyone has ever met
Reply content:
The background of our website is apache + php, and the business process will generate an image in JPEG format. There is an img tag at the front end, and set src to the image for display, currently, images may not be displayed in a probabilistic manner. images downloaded through ftp can be normally displayed. the following error is displayed after the images loaded using src are opened in Notepad:
Warning: Unexpected character in input: '' (ASCII=7) state=0 in /tmp/img1.jpeg on line 1854
Parse error: in /tmp/img1.jpeg on line 1854
I wonder if anyone has ever met
It seems that there is a problem with the image generated in the background. The method for opening the image in the browser is different from that for downloading the image using ftp (which should be opened using the local image management tool,
One sentence: the opening posture is incorrect.