have javascript detect the screen res then write out the image url on the fly, keep images in two seperate folders so the javascript would write one res using say folder thumbs800/blah.gif and then thumbs1024/blah.gif.
It seems alot of hassle to go to for little effect though, why not just design for the middle ground? If your routine slipped up it may not accesss the screen variables on all browsers in which case it would display nothing but broken images.
Also means you have to test all pages in all resoloutions too. Remember different machines and cards use a very wide range of screen sizes and you can't always detect if the browser uses sidebars and other such like.
__________________
Groovico
Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart
http://www.firetanksoftware.com
Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
|