https://st.music.163.com/c/m2.
is how to make the original size of the picture on each final result page be an integral multiple of the screen size
know that you can get the screen size, but how to generate a picture
https://st.music.163.com/c/m2.
is how to make the original size of the picture on each final result page be an integral multiple of the screen size
know that you can get the screen size, but how to generate a picture
either process it in the background and pass the screen size to the front end
PC can't get in. Demo, who has done NetEase before, probably guesses its effect.
<img src="http://p1.music.126.net/TpCinfY4hmnWhl6JbcPGog==/109951163185285618.jpg?param=140y140"/>
the ? param=$ {width} y ${height}
passed from the front end, the width and height can be captured by the back end, and the back end compresses the original image-- this is how the images on his website are optimized. You can take a look at
this thing?