Only open clearing if img is clicked

Links don't work inside of clearing-thumbs, except the thumbnail.  This disables clearing for links other than links that have an img child.  There is probably a better way to do this, but it is working.