Added attachment link to sidebar images for single posts