#5094 closed defect (bug) (duplicate)
Insert/Edit image does set image size to 1x1 if no size already defined in IE
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | TinyMCE | Version: | 2.3 |
| Severity: | major | Keywords: | |
| Cc: |
Description
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.
Duplicate of #5087