User:Muchos/Snippets/Image as header

How to put an image as an header without breaking my table of content?

Trees
Trees have flowers.

Flowers Example.jpg
Flowers get fruits.

Fruits
Fruits taste good.

==Trees== Trees have flowers.

Flowers Example.jpg
Flowers get fruits.

Fruits
Fruits taste good.