Extended image and thumbnail code to cater for local hosted files.
Update links.
Added stub more suitable for result display.