Insert Relative Size Images in Editor
-
With responsive layout now very common on the web, I find myself wanting to insert pictures into posts by specifying the width of the photo relative to the entire column (ie 1/4 wide) rather than having to use specific pixel dimensions – but there isn’t any way to do this without editing the code and adding a class to the image to correspond to your themes responsive width names. With responsive images now built into the core and some good default sizes, it’s easy for the browser to select the appropriate pixel size image, so we shouldn’t have to fuss with the pixel sizes in the editor anymore!
Most of the time people will only use some basic withs: 1/2, 1/3, 1/4, 3/4, so if those could be options in the media insert tool (along with default css to power it) that make things SO much easier!
- The topic ‘Insert Relative Size Images in Editor’ is closed to new replies.