﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10462	Image dialog sets size using style attribute	Matthew Leffler		"The image dialog sets size using the style attribute. This makes it hard to override or limit the size using css.

'''Steps:'''

1. Viewing the demo, click the image button.
1. Browse server and select an image.
1. Ok out the dialog.
1. View source.

'''Expected result:'''

The size should be set using attributes.

'''Actual result:'''

The size is set using the style attribute.

'''Notes:'''

If the dialog did not set the image size when it was select from browsing the server it would help. That would allow css like the following to be effective:


{{{text/css
img {
    max-width: 100%;
    height: auto;
}
}}}

As it currently stands the images are squashed at the containers max-width and the height of the style attribute on the image. I must add an `!important` to the style to enforce the aspect ratio."	Bug	closed	Normal		General		invalid		
