Yes, that should work, with the path to image.jpg relative to the index.html file (i.e. "image.jpg" if it's in the same folder, "images/monster.jpg" if it's in an 'images' subfolder, or whatever) - you'll probably want to download Gruescript and run it locally.