Parameterise images needing width or height