Attachment.php doesn’t display image
-
Trying to add an attachment template to my blog.
I made a copy of index.php, renamed it to attachment.php. The template is used correctly when clicking on a gallery entry – but it doesn’t display the image in the attachment! Weird.
Any ideas? The code is identical to index.php (which works), and both do a standard the_content() call. When comparing the HTML that index.php and the (theoretically identical) attachment.php generate, the latter one doesn’t contain any references to my image.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Attachment.php doesn’t display image’ is closed to new replies.