[wp-trac] [WordPress Trac] #10252: URL of original picture is not inserted into post - problem with filename

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 21 08:05:00 UTC 2009


#10252: URL of original picture is not inserted into post - problem with filename
--------------------------+-------------------------------------------------
 Reporter:  pavelevap     |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  high          |   Milestone:  2.8.5
Component:  Media         |     Version:  2.8  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by hakre):

 The "Insert into Post"-Button of the Gallery tab of the "Add an Image"
 Thickbox-Dialog does not work. It inserts the image enclosed with an a-tag
 that has an empty href attribute. You can reproduce this easily be adding
 images in the HTML-Mode of the editor:

 {{{
 [caption id="attachment_29890" align="alignnone" width="640" caption="Auto
 na dálkové ovládání"]<a href=""><img src="http://example.com/wp-
 content/uploads/2009/09/Auto-na-dálkové-ovládání.jpg" alt="Auto na dálkové
 ovládání" title="Auto na dálkové ovládání" width="640" height="444" class
 ="size-full wp-image-29890" /></a>[/caption]
 }}}

 Looks like this is in the javascript domain.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10252#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list