Only add the photo tagging scripts if it is an attachment page.