"With ImageCodr.org, there is no need to do all this manually, you simply enter in the URL of the picture page (as seen in your browser) you are interested in and ImageCodr.org will generate the ready to use HTML code. It will also display a brief and easy license summary, so you don't get in legal trouble because you missed something."
Search for CC pictures with Wylio, which allows you to choose the size of the image you want, and gives you the attribution all wrapped up in an embed code - very nice.