Twitter Card Image Size: The Right Dimensions for X Link Previews

javascript dev.to

When you paste a link into a tweet, X should unfurl it into a card with a title, a description, and an image. The single setting that decides whether that image shows up large or as a cramped thumbnail is the Twitter card image size. Get the dimensions right and one image gives you a full-width preview on X and every other platform. Get them wrong and the card collapses to a small square or shows no image at all. The short answer For a large, full-width card on X, use 1200 by 628 pix

Read Full Tutorial open_in_new
arrow_back Back to Tutorials