}
}
private void displayImage(int index) {
final AssetContentItem currentImage = allImages.get(index);
imagePanel.setWidget(new ImagePopupView(currentImage));
// Reposition the popup/filmstrip to take image size changes, window size changes,
// and scrolling into account.
showPopup();
showFilmstrip();
}