Parameterised remaining image references to support s3 image hosting.