Attachment.php and Image.php aren't working in several themes
|Reported by:||langsuyar||Owned by:||anonymous|
|Severity:||normal||Keywords:||attachment.php image.php template|
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.
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.
Broken in Revolution Business Pro Theme, but I've gotten it to break in other themes as well (Vanilla Mist, for example). Kubrik works, on the other hand!
Please see http://wordpress.org/support/topic/200462 for full thread on the problem.