4

I have a "share on Twitter" button on my website that allows users to easily share a tweet with the web page. The page features a photo, and we would really like to have users tweet the photo itself out.

Is it possible to build "tweet this photo" functionality from my website?

If I fill the image URL into the tweet, Twitter shows a link to the image, but not the image itself. Users can upload photo to twitter that get shown fully in Twitter.

Stephen Ostermiller
  • 99,822
  • 18
  • 143
  • 364

1 Answers1

5

The best solution I can think of is to use Twitter cards. This will mean though, that you would have to create a page for each image that you'd like Tweet-able - you may be able to get around this with some sort of lightbox iframe.

<meta name="twitter:image:src" content="IMAGESOURCE">

It looks like a lot of people are searching for the same thing as you. Good luck implementing this - I'd be keen to know what solution you end up using.

Double Clicked
  • 2,363
  • 1
  • 20
  • 36