How to import the latest jpeg which is saved on a company shared drive?

1) I have a jpeg which is saved on a company shared drive : \\server\ABC\tree.jpeg

2) There is a script updating this jpeg at different times of the day, so this jpeg looks different everytime the script updates it.

3) I placed this jpeg on a confluence page and link it like below :


4) I want to make it work such that everytime a user refreshs the confluence page, it will pull the latest jpeg. Now it is not working for me.

5) I am sure the link works, when I place file://server/ABC/tree.jpg on the IE address, it opens up the jpeg.

1 answer

This widget could not be displayed.

You'll need to get your user's browsers to stop caching and inject things into Confluence's headers to make sure it always fetches the file.

This would be a bit of a pain, a better option would be to have the file as an attachment that is uploaded by the process that changes the image, and the best option would be an add-on that pulls in the latest version of the file.

What is the name of the add-on and how do I install it?

I'm not aware of an add-on that does this, you'd need to find or write one yourself.

Thanks, I actually tried many methods like below but not successful.

  • [|file:///X:/path/to/document/]
  • [DailyVol.jpg|file://///factorybak/AOI/JMP_Data/AOI_Volumes/DailyVol.jpg]
  • file:///p:/myFolder/folder/
  • <a href="localhost/V1.mp4">download</a>
  • http://computer-name-or-ip-address:8080/myfile.xls"
  • [myfile.xls|file:///Y:/QA/shared/myfile.xls]

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you