Jump to content
Larry Ullman's Book Forums

Rendering different image sizes to different devices.


Recommended Posts

I thought the chapter on image uploads was very clear. However, I have not found anything to help with the subject of how to render an appropriate sized image depending upon the device size.

If I load a large image (for desktop), the same image will also be loaded for mobile too.

I suspect the answer is to take copies of an image and somehow provide the code which enables to server to know which image to render (small, medium large for example).

What approach is best taken here? and do you have this subject covered in any of your other books?

Thank you

Link to comment
Share on other sites

 Share

×
×
  • Create New...