Per image configurable dimensions

Signed-off-by: Carles Tomás Martí <ctm@monolito.eu>