... about attachments and how they are handled in WordPress. Using le and image attachments in WordPress The main purpose of the attachment.php le, from a WordPress perspective, is to tie the media ... when the link to page option is chosen on le upload, or when creating or editing a post. You can learn more about it on the WordPress codex, at: http://codex .wordpress. org/Using_Image_and_File_Attachments.See ... startedThe only requirement for this recipe is that you are working on a modern WordPress theme that works with WordPress 2.8 or 2.9.How to do it First, we need to create the attachment template....