CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Building for mobile devices (http://www.codingforums.com/forumdisplay.php?f=70)
-   -   serving optimized images to mobile phones and desktops ? (http://www.codingforums.com/showthread.php?t=234516)

guermantes 08-09-2011 08:50 AM

serving optimized images to mobile phones and desktops ?
 
Hi,

I am beginning developing a small site with a static image gallery of 50 images - the images will be in a list. I want this site to be possible to use on mobile devices as well, so I am going to use CSS media queries to adapt the styling and presentation to small screen when a user visits the site from their phone rather than desktop.

I presume I should do some further optimization/downsampling of the images that should be served on the mobile device, but how should I make the server send a smaller image to phones and a larger image to desktops, when the same thumbnail is tapped/clicked?

Thanks!


All times are GMT +1. The time now is 12:13 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.