Category 2
The important detail to make sure you get things working correctly is that everything is correctly labelled.
For instance, sample 1 here is labelled "cat2sample1", so you have to label sample 1's id as "cat2sample1" down in the CATEGORY 2 IMAGES section of the html file, so that it pulls up the correct image on the right.