mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 12:22:17 +01:00
adding information about how to use images in header/footer. Thanks @LoicHa
This commit is contained in:
@@ -98,6 +98,12 @@ The following classes allow you to inject printing values:
|
||||
> **Attention:** the CSS properties are independant of the ones used in the `index.html` file.
|
||||
> Also, `footer.html` CSS properties override the ones from `header.html`.
|
||||
|
||||
For images, the only solution currently is to use a `base64` encoded source:
|
||||
|
||||
```html
|
||||
<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
|
||||
```
|
||||
|
||||
### cURL
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user