: It's perfectly possible, in at least two ways.
:
: The first would be to write a program that changes the image URLs for you, and changes them back when you've tested.
:
: The second, and probably easier (if less interesting and popular) way would be to use a Javascript to loop through all the images, and change the domain part of the src to the location on your hard drive. If you embed it using <script src> you only have to add or remove one line to get it to work.
:
: Something like
:
window.onload = function () {
: for (i = 0; i < document.images.length; i++)
: document.images[i].src.replace('www.domain.com','images');
: }
: Should do it, then save that as a .js (or anything else, but .js for preference) file and include it in the page with <script src="foo.js"></script>
:
Bleh...JavaScript sucks. :-S
If I remmeber correctly, HTML has a <base ...> tag that lets you set up a prefix for files loaded from that page. Something like:-
<base href="http://www.whatever.com/" />
If you wanted a change-one-line-on-the-page solution, that'd be more reliable that the JavaScript.
Jonathan
###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");