the code for the former method for images in info boxes is no longer needed