Raise exception on invalid amount of side images