To make citing easier, capture important details concerning the image as you find the image. Elements you should try to capture:
Citation styles such as APA or AMA require different formats. Very often, the format is slightly different for an attribution you place in close proximity to the image (in-text) versus the citation you are including in your reference list.
You need to consult the citation style you will be using for the proper format.