Hi!
Can anyone help me understand this concept with images in confluence?
I'm publishing 400+ confluence documents to our datacenter confluence server, using the python API, and i would like to add a picture to each document depending on the type of document.
Is there no way i can just upload this once to our space and then refer to it in the xhtml code to show a picture?
Or do i have to use this function for every single document, every time i publish it (every night)?
confluence.attach_file(filename, name=None, content_type=None, page_id=None, title=None, space=None, comment=None)
So the image saved in 400 copies?
...And then use this code to show it?
<ac:image> <ri:attachment ri:filename="logo-distro-debian.png" /> </ac:image>
Can't a picture be shared across a space? And just be referred to?