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 :

file://server/ABC/tree.jpg

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

0 votes

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.

  • [document.abc|file:///X:/path/to/document/document.abc]
  • [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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,521 views 25 14
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