fit inline images to page