Fixing image refs