Versions Compared

Key

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

https://stackoverflow.com/questions/23231494/referencing-image-in-html-in-confluence

  1. Insert your image attachment by clicking on Insert->Attachment
  2. Clicked on the attached image and copy the url (/confluence/......./example.jpg)
  3. reference it it your html in your img tag

Image Added


https://thefreetelecomuni.atlassian.net/wiki/download/attachments/556051/headerFTU.jpg?version=2&modificationDate=1544386470147&cacheVersion=1&api=v2





Original


Code Block
titleoriginal code
<p class="rvps2"><img alt="" src="NewItem219.png" style="padding : 1px;"/></p>


future

!!!! page_id : 556051   !!!!!!!! is not the parent page 

GET  https://thefreetelecomuni.atlassian.net/wiki/rest/api/content/805437504/?expand=body.view



Code Block
titlehtml core
<p>
<span class="confluence-embedded-file-wrapper" resolved="">
<img class="confluence-embedded-image" 
src="https://thefreetelecomuni.atlassian.net/wiki/download/attachments/556051/headerFTU.jpg?version=2&modificationDate=1544386470147&cacheVersion=1&api=v2" 
data-image-src="https://thefreetelecomuni.atlassian.net/wiki/download/attachments/556051/headerFTU.jpg?version=2&modificationDate=1544386470147&cacheVersion=1&api=v2" 
data-unresolved-comment-count="0" 
data-linked-resource-id="858464" 
data-linked-resource-version="2" 
data-linked-resource-type="attachment" 
data-linked-resource-default-alias="headerFTU.jpg" 
data-base-url="https://thefreetelecomuni.atlassian.net/wiki" 
data-linked-resource-content-type="image/jpeg" 
data-linked-resource-container-id="556051" 
data-linked-resource-container-version="1" 
data-media-id="a03ff621-047f-459e-bf97-0b99e4ceea8a" 
data-media-type="file">
<\p>




in Chrome:

Right Click  or   "CTRL + SHIFT+i"

Image Modified
view only the <image> taghttps://htmledit.squarefree.com/