Probiotics is effective when consumed in either food or supplement form, but as there are different strains of bacteria, I would recommend consuming both supplements and food.
http://www.webmd.com/diet/answers-to-your-questions-about-probiotics?page=1