add rulers to images