PHP Batch Picture Zoom preview problem?
1 read a picture of a folder.
2 reads the picture into memory, scales it by an algorithm, and generates $image object.
3 next to each picture, create a form, fill in the name of the picture, category and other information, deposited into the database.
3 key is how to display on the Web page ah?
This way can only show a picture ah, I want to read n pictures.
Header (' Content-type:image/jpeg ');
Imagejpeg ($dstimage, null,100);
-------------------------------------------------------
One way is to say:
But it's not written like this? Action inside header (' content-type:image/jpeg '); Imagejpeg ($dstimage, null,100); Do it?
--------------------
Is there any way to do it? Just give me a link to the article. Picture thumbnails and file operations I've written it all.
------Solution--------------------
One way is to say:
That's how it's done, Action=imagepreview. Reads the specified picture file according to the filename parameter
------Solution--------------------
Does not exist in bulk unless a physical picture is generated
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service