I made a phone page, just open the page because the images is not loaded completely instantly lead contents all stacked together, waiting for images to load after the page was completely normal. So I think to make images width, height attributes, but different phone size, the width of each images is change, resulting in a height to be recalculated, will slow in the inside pages through javascript computing, the problem is not resolved. Is there a way in PHP controller which will calculate the width of the page? Then directly assigned to the page?
Or is there other ways to solve this problem?