> ## Documentation Index
> Fetch the complete documentation index at: https://lummi.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Attribution

To comply with usage guidelines and ensure proper credit is given to image creators, developers MUST include both image attribution and author attribution for each image displayed.

### Image Attribution

When displaying images obtained through the Lummi API, you MUST provide a clickable link to the original source of the image. Use the `attributionUrl` property from the image object.

### Author Attribution

Developers MUST also attribute the original author of the image. Use the `attributionUrl` from the author object to create a clickable link to the author's profile.

### Example

```jsx
<div className='relative'>
    <img src={image.url} alt={image.name} />

    <p className='absolute bottom-0 right-0'>
        Photo by
        <a href={author.attributionUrl} target='_blank'>
            {author.name}
        </a>
        on
        <a href={image.attributionUrl} target='_blank'>
            Lummi
        </a>
    </p>
</div>
```

### General Best Practices for Attribution

* **Visibility**: The attribution should appear near the image, on top of it, or be visible on hover.
* **Formatting**: Use clear and clickable text links for all attribution URLs.
* **Styling**: Match the attribution style with your application’s design for a seamless user experience.

By adhering to these guidelines, developers ensure compliance with Lummi's terms of service and respect the work of creators.
