I am developing a typographic oriented wordpress theme [1], and I am having problems with embedded images.
I can control each element and adjust its line height, bottom edge, ecc to maintain a vertical rhythm. But since the images inserted into the editor can have any height, they obviously violate all the content.
So, the question is whether it is possible to use a marker, add-on or another solution to make sure that regardless of the size of the image, it will be adjusted to the baseline.
I know that there are several alternatives, for example, so that all the images turn into a multiple of the line, so I can maintain the rhythm. Another option would be to use javascript rather than perfect, but if there is no css solution, I will have to consider it.
[1] As you can see, this is a css-related issue, not a wordpress, so I post this question here.
javascript css typography
Pablo Olmos de Aguilera C.
source share