add option to specify a click callback (for the large image)