Add cross-reference to imgResource function