Would it be possible to style images differently if they contain links or are unlinked? Especially would it be possible to style the whole box containing images and the image caption differently depending on of the image contains a link or not? It would be great if someone had an idea how to make this possible for images with and without a caption.
(I know it is possible for images themselves, but since the div surrounding the caption is no different whether the image contains a link or not it's probably not that simple ... or am I missing something?)