Inline Upload Image Size Attribute Problem For "Using Original"
|Reported by:||intoxination||Owned by:||anonymous|
|Severity:||normal||Keywords:||upload image has-patch commit|
In the inline-uploading.php, when you select to use the original and send it to the editor, the height attribute is still included in the img tag, making the image appear as a thumbnail.
h = o.innerHTML.replace(new RegExp('
s*$', ), '$1'); Trim
h = h.replace(new RegExp(' (width|height)=.*?', 'g'), ); Drop size constraints
This strips the height and width constraints without quotes.
I have noticed this problem in versions 2.0 and up (including 2.04).
Change History (8)
- Keywords upload image added
- Resolution set to fixed
- Status changed from new to closed
- Milestone set to 2.0.7
- Priority changed from normal to high
- Version changed from 2.0.4 to 2.0.6