Home  >  Article  >  Backend Development  >  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
WBOYOriginal
2016-08-04 09:20:461806browse

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

Statement:
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