Unzip the image with PHP, press directly to the 8k size behind the full display.
Who can tell me where to set the size or solve it in other ways?
Reply to discussion (solution)
What unzip the picture?? Speak clearly.
I compress all the JPG images first, then upload the compressed package to the server on the webpage, unzip and put it under the directory I want to upload. Then the uncompressed image is only 8K in size. Many pictures show only half of the above, none of the below.
is not after you upload, the size of the picture is 8k size.
Compressed package inside the picture or the original size, unzip the picture is less than 8k can see all the pictures, if it is greater than 8K, the picture will show 8k, more than the department is gray like this
The image above is extracted by php ... Only 8k more than the part is gone
Put your code out.
Maybe you can upload the package to a downloadable place.
$zip = Zip_open ("/php/test/test.zip");
if ($zip) {
while ($zip _entry = Zip_read ($zip)) {
$fp = fopen ("/php/". Zip_entry_name ($zip _entry), ' W ');
if (Zip_entry_open ($zip, $zip _entry, "R")) {
$buf = Zip_entry_read ($zip _entry, zip_entry_filesize ($zip _entry));
Fwrite ($fp, ' $buf ');
Zip_entry_close ($zip _entry);
Fclose ($FP);
}
}
Zip_close ($zip);
}
I felt a red part of the problem there, but I went to the program and did not find where to set the size of the control.
Does PHP come with its own settings?