Default locations for images/code

Given the presentation structure, it is reasonable to make the code look for unfound images in `images` and code in `code` :)
The double creation here feels slightly awkward, one could probably do an assignment in the condition but I dunno how I feel about that, ideas @jasonrclark ?