Start a new topic

Link parameter for picking an image to preview in embed

Sometimes you just want to share a post that has several images, but you want people to see specifically *some* image in the embed. Unfortunately, embeds always display the first image.

This could be solved via something like an optional `?img=0` parameter, which tells the embed resolver, starting index from 0, to preview a specific image.

Say, I'd want to show a second image on a post, i'd do `https://cohost.org/user/1234-cool-post?img=1`, and it'd preview the second image in the thumbnail. As a fallback, you could just preview the first image as always.


2 people like this idea
1 Comment

oh this could also default as an elegant solution for forcing an embed on an 18+ post

Login or Signup to post a comment