[wp-trac] [WordPress Trac] #5094: Insert/Edit image does set image size to 1x1 if no size already defined in IE

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 27 14:26:49 GMT 2007


#5094: Insert/Edit image does set image size to 1x1 if no size already defined in
IE
---------------------+------------------------------------------------------
 Reporter:  knipjo   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.4      
Component:  TinyMCE  |     Version:  2.3      
 Severity:  major    |    Keywords:           
---------------------+------------------------------------------------------
 Using IE7 create new article.
 Insert an image, show thumbnail, link to page, send to editor.
 The image gets inserted.

 Code of article is:
 <a rel="attachment wp-att-273"
 href="http://www.domain.com/?attachment_id=273"><img
 src="http://www.domain.com/wp-content/uploads/2007/09/janet-
 evanovich-2.thumbnail.jpg" /></a>

 Select image in editor.
 click on insert/edit image.
 All fields are empty except image url. Leave image url.

 Set aligment to Left, code got:
 <a rel="attachment wp-att-273"
 href="http://www.domain.com/?attachment_id=273"><img border="0"
 align="left" width="1" src="http://www.domain.com/wp-
 content/uploads/2007/09/janet-evanovich-2.thumbnail.jpg" height="1"
 /></a><img border="0" align="left" width="1" src="http://www.domain.com
 /wp-content/uploads/2007/09/janet-evanovich-2.thumbnail.jpg" height="1" />

 Yes, the image tag was duplicated and the image sizes where set to 1 x 1.

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


More information about the wp-trac mailing list