#000000
Dirección del gradiente
#000000
John Doe
July 13
• 5 min read
Una vez creada tu imagen OG, guárdala como og.png en tu carpeta /public. Luego sigue los pasos según tu stack tecnológico — ya sea HTML simple, Next.js o React. Configuración sencilla, vista previa perfecta.
1
2
3
4
5
6
7
8
9
10
11
<!-- OG Tags -->
<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Your page description" />
<meta property="og:image" content="https://mydomain.co/og.png" />
<meta property="og:url" content="https://mydomain.co" />
<!-- X Card Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://mydomain.co/og.png" />
<!-- DO NOT forget to change the 'mydomain.co' to your domain. -->
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// app/page.js or app/page.tsx
export const metadata = {
title: "Your Page Title",
description: "Your page description",
openGraph: {
title: "Your Page Title",
description: "Your page description",
url: "https://mydomain.co",
siteName: "Your Site Name",
images: [
{
url: "/og.png",
width: 1200,
height: 630,
alt: "OG Image Alt Text",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
images: ["/og.png"],
},
};
1
2
3
4
5
6
7
8
9
10
11
// Using react-helmet in React projects
import { Helmet } from "react-helmet";
<Helmet>
<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Your page description" />
<meta property="og:image" content="https://mydomain.co/og.png" />
<meta property="og:url" content="https://mydomain.co" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://mydomain.co/og.png" />
</Helmet>;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// gatsby-config.js
module.exports = {
plugins: ["gatsby-plugin-react-helmet"],
};
// in your page/component
import { Helmet } from "react-helmet";
<Helmet>
<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Your page description" />
<meta property="og:image" content="https://mydomain.co/og.png" />
<meta property="og:url" content="https://mydomain.co" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://mydomain.co/og.png" />
</Helmet>;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Nuxt 3 - in a page component
<script setup>
useHead({
title: 'Your Page Title',
meta: [
{ property: 'og:title', content: 'Your Page Title' },
{ property: 'og:description', content: 'Your page description' },
{ property: 'og:image', content: 'https://mydomain.co/og.png' },
{ property: 'og:url', content: 'https://mydomain.co' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:image', content: 'https://mydomain.co/og.png' },
],
})
</script>
¿No sabes cómo se verá tu sitio web cuando lo compartas en redes sociales? La herramienta Vista previa de imagen OG te muestra exactamente cómo aparecerá tu enlace en plataformas como Facebook, Twitter (X) y Discord.
Pega la URL y obtén una vista previa en tiempo real de tu sitio, tal como lo verán los usuarios en mensajes o publicaciones.
Es la forma más sencilla de detectar errores, perfeccionar tu marca y asegurarte de que cada enlace compartido tenga un impacto.
⚡ Simulación instantánea • Sin configuración necesaria • Vista previa realista
La imagen OG (Open Graph) es la vista previa visual que aparece cuando compartes tu enlace en plataformas como Twitter (X), Facebook, LinkedIn, Discord o iMessage. Es la primera impresión — y define si el usuario hace clic o sigue desplazándose.
Las imágenes OG personalizadas aumentan el compromiso con tus enlaces, refuerzan la coherencia de tu marca y te ayudan a destacar en los feeds saturados. Poco esfuerzo, gran recompensa.
✅ Tamaño recomendado: 1200×630 píxeles. Usa texto claro, alto contraste e imágenes relevantes.
Seleccionar idioma
Establecer tema
© 2025 ReadyTools. Todos los derechos reservados.