[wp-trac] [WordPress Trac] #7830: Attachment.php and Image.php aren't working in several themes

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 4 20:47:42 GMT 2008


#7830: Attachment.php and Image.php aren't working in several themes
-----------------------+----------------------------------------------------
 Reporter:  langsuyar  |       Owner:  anonymous                        
     Type:  defect     |      Status:  new                              
 Priority:  normal     |   Milestone:  2.8                              
Component:  Template   |     Version:  2.6.1                            
 Severity:  major      |    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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7830>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list