Added $is_mobile back into sendErrorImage()