This project is read-only.

Make the media wrapper fit-to-size on the media object when a width and height is not specified


Certain media can cause UI glitches in how the media is rendered on the page. In addition, it would be more usable for the media to automatically determine its usable width and height.


natem wrote Dec 23, 2014 at 5:46 PM

Please at least allow the option to not have to enter a width and height. When you don't enter anything it defaults to 1024x768px. This fixed width and height at the element level breaks responsive designs and thus it cannot be used on these type of websites.

natem wrote Dec 23, 2014 at 6:23 PM

Sorry, it does not default to 1024x768. After looking at the code it defaults to the items actual dimensions. For images, it would be best to not put this width and height into the <img> element so the images can scale as needed.