Do not show lightboxes for skin images

This fixes duplicate lightboxes for [[File:Image.jpg|thumb]].

Change-Id: Idb7182767efce2ee05a336aef1937c448030755b