- From: Gervase Markham <gerv@mozilla.org>
- Date: Tue, 13 Mar 2007 13:35:05 +0000
Behnam ZWNJ Esfahbod wrote: > The second one is to get the web server decide which image file is > better. An Apache httpd module can select the best response for a > request for image "the-company-logo" if it knows which size is needed, > and what mime-types are acceptable. > > My idea is to add a field to the http request header for image files, > to let the server know which size the image is going to be shown, and > then it decides to send the best answer. What's wrong with URL parameters? <img src="logo.jpg?width=100px&height=100px" width="100" height="100"> Your server-side code could see this URL and serve an appropriate image. Gerv
Received on Tuesday, 13 March 2007 06:35:05 UTC