fix image urls for older ipython versions