When a product album is added to the ecshop background, the thumbnail ecshop bmp cannot be generated in bmp format.
When the ecshop background generates Image product albums in batches, the bmp format cannot generate thumbnails. how can this problem
CopyCode The Code is as follows: // Example:
$ Path = root. 'upload/2009/06/03/124401282315771 .';
$ Pathall = $ path. 'bmp ';
$ MI = '';
$ MI = imagecreatefrombmp ($ pathall );
Imagejpeg ($ Mi, $ path. 'jpg ');
// The function is as
When adding product photos in the ecshop background, the bmp format cannot generate thumbnails. when the ecshop background generates Image photos in batches, the bmp format cannot generate thumbnails. how can this problem be solved? & Nbsp; what I
When adding product photos in the ecshop background, the bmp format cannot generate thumbnails. when the ecshop background generates Image photos in batches, the bmp format cannot generate thumbnails. how can this problem be solved? & Nbsp; what I
Copy codeThe Code is as follows:// Example:$ Path = ROOT. 'upload/2009/06/03/124401282315771 .';$ PathAll = $ path. 'bmp ';$ Mi = '';$ Mi = ImageCreateFromBMP ($ pathAll );Imagejpeg ($ mi, $ path. 'jpg ');// The function is as follows:Function
When adding product photos in the ecshop background, the bmp format cannot generate thumbnails. when the ecshop background generates Image photos in batches, the bmp format cannot generate thumbnails. how can this problem be solved? & Nbsp; what I
Copy Code code as follows:
? Php
Example:
$path = ROOT. ' upload/2009/06/03/124401282315771. ' ;
$pathAll = $path. ' BMP ';
$mi = ';
$mi = Imagecreatefrombmp ($PATHALL);
Imagejpeg ($mi, $path. ' jpg ');
The functions are as follows:
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.