Closed ghost closed 12 years ago
There’s no such an option. Read documentation first. Thanks.
why is this not an option? It should be. at least the Height is a must.
How can i disable the height and so i can add "auto"
Because these options are meant to support many user cases, not only yours. And you are the first to complain about this. You can’t think of them as width and height of an image. You can work around this by putting the desired image (with height of "auto") in a DIV container. But the container should have width and height assigned.Otherwise they will default to 100×100px IIRC.
I have to agree with brodster, auto for width and height would be useful when the browser gets resized for example.
I would also like this feature. I'm building a responsive site. I want to set the width to 100% when the window size is less below a certain size, which means the height would be scaled proportionally and I wouldn't necessarily know what the height would be. An auto parameter would save me creating custom scripts to work out screen height.
width: auto, height: auto,