add /reference/ to image api path

Closes #406