Free software to run online visual category learning experiment
You might want to take a look at jsPsych, which is an open-source JavaScript library for building experiments. There is an example of running a visual categorization task in the documentation for the library.