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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...