How to Fix Images From Your Blog Not Showing Up in Posts on X (Twitter) »

If you are posting from your blog on sites like X and your header images aren't showing up, append a random query parameter so the URL is different.

When sharing from my blog, I’ve been having the tiniest problem for ages – for about one out of every ten posts, the images from my blog will simply not show up on Twitter, like the image below:

Thankfully blogger Deepak shared this solution on his site:

I discovered that adding a random query parameter at the end of the URL, that you’re going to share on X, works perfectly. X treats this as a new URL and re-fetches the card image. For example, you can add something like ?test=1 like below example, or whatever random query parameter you like. And then share this URL on X.

But don’t worry, adding the query parameter isn’t going to break the URL or affect the content shown on the page. It’s perfectly safe to use this.

THANK GOD. After a bit of testing, I’m going with ?refresh=true1 at the end of blog post URLs that are being troublesome – makes sense to me, and works well.

View the post from DeepakNess and follow my full feed account @CassinelliMedia.

  1. I’ve integrated the URL pattern into the shortcut from the header image – coming soon for members (or, you can just build it yourself from the photo).

Posts You Might Like

How to migrate from custom intents to App Intents »
Tyler Hillsman shared the Tech Talk from Apple that guides developers through the process updating from older Shortcuts APIs to the newer App Intents.
Blackbox: Rebooting an Inventive Puzzle Game for VisionOS »
Developer Ryan McLeod is featured on the Apple Developer blog to talk about bringing his app Blackbox to Apple Vision Pro and turn his game into a spatial computing experience.
Opening directly into Watch Later on YouTube with a Siri Shortcut
How to use Siri Shortcuts to open directly into the Watch Later tab in the YouTube app for iOS
Detail: A Modern, Machine Learning-Powered Approach to Video »
MacStories covered Detail Duo and Detail for Mac – a set of creative video apps for storytelling (complete with Shortcuts support, of course).