From b15a4ef79f7ab627e0bc695bfb316de0fb45f4f2 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 5 May 2024 14:16:22 +0000 Subject: [PATCH] failed attempt at making images load on android-discord --- copyparty/httpcli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 86493666..246c5f7e 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -4841,9 +4841,8 @@ class HttpCli(object): } elif is_pic: title = str(vn.flags.get("og_title_i") or "") - ogh["og:type"] = "website" - ogh["twitter:card"] = "photo" - ogh["twitter:image:src"] = ogh["og:image"] = j2a["og_raw"] + ogh["twitter:card"] = "summary_large_image" + ogh["twitter:image"] = ogh["og:image"] = j2a["og_raw"] try: for k, v in file["tags"].items():