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 transfer camera settings on a Panasonic LUMIX GH5
I made a checklist (and a shortcut) for the process of how to transfer your settings from one Panasonic camera to another.
How to create a deep link to file in iCloud Drive so you can directly access it later
Using the Share sheet and Add People to copy a direct link to a file in iCloud Drive, without exposing your data to the outside world.
Casey Liss created a Status Board for his smart home »
Casey Liss has shared a unique Status Board setup he's created using a now-discontinued switch and Home Assistant – clever.
Bartender beta for macOS Monterey