Hey, I wrote simple patch which allows use of w3mimgdisplay with st. Not sure if it should be applied, probably better idea is to add this to patches on site.
Tested with w3m and ranger. w3m has slight problem, when cursor is on same line as image, whole line seems to be redrawn and image is lost. ranger seems to work ok. Amadeusz