fix image index preview extension