Introduction | laravel-og-image-rust | Spatie       

 SPATIE  

  Laravel Og Image Rust 
========================

spatie.be/open-source

  [Docs](https://spatie.be/docs)  [Laravel-og-image-rust](https://spatie.be/docs/laravel-og-image-rust/v1)  Introduction

 Version   v1      

 Other versions for crawler [v1](https://spatie.be/docs/laravel-og-image-rust/v1) 

  Introduction    
- [ Introduction ](https://spatie.be/docs/laravel-og-image-rust/v1/introduction)
- [ Support us ](https://spatie.be/docs/laravel-og-image-rust/v1/support-us)
- [ Installation ](https://spatie.be/docs/laravel-og-image-rust/v1/installation-and-setup)
- [ Usage ](https://spatie.be/docs/laravel-og-image-rust/v1/usage)
- [ Testing ](https://spatie.be/docs/laravel-og-image-rust/v1/testing)
- [ Changelog ](https://spatie.be/docs/laravel-og-image-rust/v1/changelog)

 Laravel Og Image Rust 
=======================

 [    Repository ](https://github.com/spatie/laravel-og-image-rust) 

    0 

    0 

Introduction
------------

Generate Open Graph images from trusted application HTML.

1. Put an inert `Template` in a page and prepare its HTML.
2. Use the resulting image URL in social metadata. The image route streams a stored file, or queues generation and returns an uncached fallback.
3. Add the preview parameter to inspect the template at its configured size, with styles from the page head.

- A SHA-256 hash identifies the cached snapshot, including the page's base URL, head, dimensions, format, scale, and quality. A queued job cannot capture newer HTML under an older URL.
- External assets are not downloaded into the snapshot. Fingerprint stylesheet, font, and image URLs when their contents change.
- The image route never redirects to a storage backend. Both generation job types use the same optional shared screenshot limiter.

Install [`spatie-laravel-og-image` 0.1.0 from crates.io](https://crates.io/crates/spatie-laravel-og-image). Continue with [installation](installation-and-setup) and [usage](usage).

 A good
match?
-------------

### What we do best

- All things Laravel
- Custom frontend components
- Building APIs
- AI-powered features
- Simplifying things
- Clean solutions
- Integrating services

### Not our cup of tea

- WordPress themes
- Cutting corners
- Free mockups to win a job
- "Just execute the briefing"

 In short: we'd like to be a **substantial part** of your project.

 [ Get in touch via email ](mailto:info@spatie.be?subject=A%20good%20match%21&body=Tell%20us%20as%20much%20as%20you%20can%20about%0A-%20your%20online%20project%0A-%20your%20planning%0A-%20your%20budget%0A-%20%E2%80%A6%0A%0AAnything%20that%20helps%20us%20to%20start%20straightforward%21)
