fix is_portrait for fallback dummy images