Home > Backend Development > PHP Tutorial > How to submit uploaded images and scale them to a specified folder

How to submit uploaded images and scale them to a specified folder

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-29 08:50:49
Original
1075 people have browsed it

When submitting an image on a php page, how to scale the image and keep only the scaled image? ? ?

Reply content:

When submitting an image on a php page, how to scale the image and keep only the scaled image? ? ?

First get the image from the uploaded file, and then use PHP's GD library to scale the image. After getting the scaled image, copy it to the specified folder.
In this operation process, it is a bit difficult to zoom in and out of pictures. There are functions/classes written by others on the Internet, such as php class-resizeimage class-picture generation thumbnails

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template