I have a client with a very image heavy blog. Every time they upload images in their posts they are using the Attachment Post URL for the link instead of the File URL. The problem with this is that there is an image plugin that automatically zooms images nicely if they are links to the file but won't work if it's a link to the attachment page.
Is there any way to force all links to attachment URLs to point to the File URL instead?
I tried redirecting my attachment.php but that won't change the link in the index.php or single.php. Thanks for your help. I can't go through and change every existing post or prevent the client from doing this in the future.