Home > Backend Development > PHP Tutorial > Upload pictures on the mobile terminal and view the deformation on the PC terminal?

Upload pictures on the mobile terminal and view the deformation on the PC terminal?

WBOY
Release: 2016-08-04 09:20:46
Original
1834 people have browsed it

The pictures uploaded on the mobile terminal look good when viewed on the mobile terminal, but they will be deformed when displayed on the PC terminal. What is going on? The server uses PHP

Reply content:

The pictures uploaded on the mobile terminal look good when viewed on the mobile terminal, but they will be deformed when displayed on the PC terminal. What is going on? The server uses PHP

It doesn’t matter what language you use. Check whether the width and height of the image are set on your PC?
If the proportion is wrong, the picture will be deformed.

The PC version is a web page? Let them check if there is any problem with the css. Generally there won’t be any problem if you move here

Verify whether the size constraints uploaded by the mobile terminal meet the requirements

This has nothing to do with PHP. This is a problem with your own CSS writing. The image was forcibly stretched.

Determine whether the mobile terminal has excessively compressed the image or performed other operations

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template