Am I even doing this right...? (is_live integration into my own site)

it can’t show an image if you are offline.

https://api.twitch.tv/helix/streams?user_login=darkmage4

reports there is no live stream

I can’t help you when giving false data!

if I look up cohh

https://api.twitch.tv/helix/streams?user_login=cohhcarnage

Returns

{
"data": [
{
"id": "42165023900",
"user_id": "26610234",
"user_login": "cohhcarnage",
"user_name": "CohhCarnage",
"game_id": "512980",
"game_name": "Fall Guys: Ultimate Knockout",
"type": "live",
"title": "[!FinalWeek] Beer & Trip Dudes - Biomutant TOMORROW at 8am ET! - !VODChat - !Bike - #EpicPartner Creator Code: Cohh",
"viewer_count": 6220,
"started_at": "2021-05-24T22:26:42Z",
"language": "en",
"thumbnail_url": "https://static-cdn.jtvnw.net/previews-ttv/live_user_cohhcarnage-{width}x{height}.jpg",
"tag_ids": [
"6ea6bca4-4712-4ab9-a906-e3336a9d8039",
"96b6073f-450d-4248-8ed4-988e28f3f759",
"eaba0ad7-c4e1-4878-b37f-01308dbb65c8"
],
"is_mature": false
}
],
"pagination": {}
}

And

https://static-cdn.jtvnw.net/previews-ttv/live_user_cohhcarnage-{width}x{height}.jpg

becomes

https://static-cdn.jtvnw.net/previews-ttv/live_user_cohhcarnage-192x108.jpg