add callback to showAsThumb