refactor image link generation #20

nm_get_image_url now accepts parameters to allow overriding image
settings