Is there a "correct" way of attributing when using Creative Commons images in a website?
I've used one image so far, and, from a design point of view, I thought it would be best to put the info (name of photographer and the information about the CC-licence) in the ALT tag. Eg "Shopping baskets. Image by flickr user agagagaga, licensed under Creative Commons Attribution-NonCommercial 2.0 license."
I'd like to use more, but want to make sure I'm doing it correctly.
The alt attribute was originally implemented to give users (particularly users of text only browsers) an alternative text description of the image.
So semantically I'd say that you probably shouldn't use it - however in this case it'd probably be ok to put it here as I can really think of a more intuitive spot - Other options I can think of would be using the longdesc and title attributes, adding text to the image itself, or annotating it below using the <blockquote> or <cite> tags...