Hide tweet image container and update image URL to null in quote data

This commit is contained in:
ImBenji
2025-12-31 09:01:19 +00:00
parent 7fa2724e66
commit 084130feb7
2 changed files with 3 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ curl -X POST https://quotes.imbenji.net/generate \
"username": "@geofftech", "username": "@geofftech",
"avatarUrl": "https://example.com/avatar.jpg", "avatarUrl": "https://example.com/avatar.jpg",
"text": "Does anyone else find it immensely satisfying when you turn a pocket inside out and get rid of the crumbs and fluff stuck in the bottom.", "text": "Does anyone else find it immensely satisfying when you turn a pocket inside out and get rid of the crumbs and fluff stuck in the bottom.",
"imageUrl": null,
"timestamp": 1499766270 "timestamp": 1499766270
}' --output quote.png }' --output quote.png
``` ```

View File

@@ -197,8 +197,8 @@
<div class="tweet-text" id="tweetText">omg i brought these watches home because none of them worked but i thought id hang onto them and my dad fixed and polished them all for me 😭 i love him so much</div> <div class="tweet-text" id="tweetText">omg i brought these watches home because none of them worked but i thought id hang onto them and my dad fixed and polished them all for me 😭 i love him so much</div>
<div class="tweet-image-container" id="imageContainer"> <div class="tweet-image-container" id="imageContainer" style="display: none;">
<img src="https://pbs.twimg.com/media/G9Wtk1xWcAA-WMZ?format=jpg&name=large" alt="Image" class="tweet-image" id="tweetImage"> <img src="" alt="Image" class="tweet-image" id="tweetImage">
</div> </div>
<div class="tweet-metadata"> <div class="tweet-metadata">
@@ -254,7 +254,7 @@
username: "@katiopolis", username: "@katiopolis",
avatarUrl: "https://pbs.twimg.com/profile_images/2004569144893554688/KaYjqylC_x96.jpg", avatarUrl: "https://pbs.twimg.com/profile_images/2004569144893554688/KaYjqylC_x96.jpg",
text: "omg i brought these watches home because none of them worked but i thought id hang onto them and my dad fixed and polished them all for me 😭 i love him so much", text: "omg i brought these watches home because none of them worked but i thought id hang onto them and my dad fixed and polished them all for me 😭 i love him so much",
imageUrl: "https://pbs.twimg.com/media/G9Wtk1xWcAA-WMZ?format=jpg&name=large", imageUrl: null,
timestamp: "5:58 PM · Dec 29, 2025", timestamp: "5:58 PM · Dec 29, 2025",
viewsCount: "1.1M" viewsCount: "1.1M"
}; };