If the target is a thumbnail with no target, select the parent element

I'm not sure if this is the best solution, but I always hover over the thumbnail to expand, not the link. 

This may stop any expansion we do on raw images... do we expand raw images?