Forum Moderators: open
If you use an if-else and greater than or equal ( >= ) you can serve your low-res image to people at or below 800x600 and your hi-res to those at or above 1024x768.
<edit>too late..</edit>
Thanks for the idea of less than or equal to idea, didn't accure to me, as for the no script picture that will also be quite useful though the majority of sites I tend to build now require javascript turned on to function.
<script>
if (screen.width <= 800) {
document.write("<img border='0' src='lowImage.jpg'>");
}
if (screen.width >= 1024) {
document.write("<img border='0' src='hiImage.jpg'>");
}
</script>
Kind Regards
Walker