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.
How to Fix Images From Your Blog Not Showing Up in Posts on X (Twitter) »

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

What’s New in Shortcuts – Issue 100
What’s New in Shortcuts – Issue 100
In this issue: Automations finally live up to their name, Camera app gets shortcuts, App Shortcuts on Apple Watch and HomePod, a new Apple Music Discovery shortcut, and Keynote templates.
Matt Galligan’s Shared Shortcuts on Notion
Matt Galligan’s Shared Shortcuts on Notion
Matt Galligan has published a collection of Shortcuts on Notion – including a handy one for dialing in to meetings. Seems like a great way to share shortcut if you don’t have a website.
Stephen Robles on New iPhone Shortcuts Actions in iOS 17.4 »
Stephen Robles on New iPhone Shortcuts Actions in iOS 17.4 »
Stephen Robles has a quick 10-minute video on using the new Get Orientation and Get Physical Activity actions from iOS 17.4.
Chris Lawley’s MUST have Shortcuts Automations: What’s on my iPad »
Chris Lawley’s MUST have Shortcuts Automations: What’s on my iPad »
Chris Lawley shares his top shortcuts and automations for working on the iPad – I always love seeing the latest versions of Chris' workflow.