Pixabay.com and search.creativecommons.org are two sources of candy images as of 2015 that are free of cost and can be used freely. If you want to use an image for a public or commercial purpose, always check the image's licensing restrictions and copyright information first.
When using either of the resources above, simply type "candy" in the search bar and browse the results. Also try entering similar words, such as "chocolate" or "gummy bears," depending on the type of image desired.
Check licensing restrictions before using an image if you are using it for anything other than your personal viewing. This includes using an image for a blog, website, advertisement or any other place where other people view the image. Many of the images accessible through Pixabay are in the public domain, meaning they can be used for any reason without giving credit to the author, commonly referred to as "attribution."
The images found at Creative Commons have different types of attribution licenses. Some of these require giving credit to the author of the image or linking back to where the image originally appears online. For more information on Creative Commons licenses, visit Creative Commons and click on Licenses, then About the Licenses.