---
title: "Create a showcase using an image attached to a Confluence page"
canonical: "https://support.appfire.com/space/CT/1561628167/Create%20a%20showcase%20using%20an%20image%20attached%20to%20a%20Confluence%20page"
format: markdown
---
> Macro (aura-html)

## Summary

After a few hours, the image fails to display in a Showcase macro because the image URL used becomes invalid. How do I prevent this? 

## Environment

Confluence Cloud

## Diagnostics Steps

Not applicable.

## Cause

The image URL that is inserted in the Showcase macro contains a token that expires after a certain period of time.

## Workaround

1. On the page with the attachments, select **More actions** > **Attachments**.

2. Right-click the attachment image you want to use and select **Copy link address**. Later, you will paste this URL.

> ⚠️ Do not open the image URL in a new tab. This image URL will include a token that expires after a while.

3. Click **View Page **to return and open the page in edit mode.
4. Insert the Showcase macro and fill in the fields.
5. In the **Image **field, paste the URL you copied earlier, and click **Save**.

6. Click on **Update** or **Publish** to publish the page and view the image.

### Correct image URL link

```
https://instance-name.atlassian.net/wiki/download/attachments/2162689/nature.jpg?api=v2
```

### Incorrect image URL ;ink

```
https://api.media.atlassian.com/file/40003c7d-8946-c833878/binary?token=eyJhbGciOc5Mc&client=5b73e1c7-c44c-405e-bfd1-389b6a61693a&name=nature4.PNG 
```

## Resolution

Not applicable.