// Create a popup to show the full size image
Image jimmyFull = new Image(Showcase.images.jimmy());
final PopupPanel imagePopup = new PopupPanel(true);
imagePopup.setAnimationEnabled(true);
imagePopup.ensureDebugId("cwBasicPopup-imagePopup");
imagePopup.setWidget(jimmyFull);
jimmyFull.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
imagePopup.hide();
}