make [gallery] link to file, not attachment page