Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Summary

The image fails to display in a Showcase macro after a few hours 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. In the page with the attachments, click on the

...

  1. More Actions button and click on Attachments

...

...

  1. Right-click on the attachment image you want to use, then click Copy link address (you will be pasting this URL later).

...

Note

Do not open the image URL in a new tab, this image URL will include a token that expires after awhile. 

...

  1. Click on View Page to return back, click on pencil icon to Edit the page. 

...

  1. Insert the Showcase macro and fill in the fields. 

...

  1. In the Image URL field, paste the URL which you copied earlier. Then, click on the Save button to save changes. 

...

...

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

Correct image URL link

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

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

...

PNG 

Resolution

Not applicable.

...