Image tag ignored

I was trying to add/update the content of a page using the foliwing REST end point

/rest/api/content/

The image tag (<img>) gets ignored by the page if the src contains the image data.

 

Following is the ignored tag,

 

<img src="data&colon;image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA20AAADICAYAAAB7ywkKAAAgAElEQVR4Xu3dB3RVVb7H8X8IKZDQIz1SgoooCoTeBpRQhLENIBYcXLqw4owFRwcL781TLPNUdJxxHFGfI4qKOio1oQkEkCIjjKBCaAmE3ksICXnrv+GGS0xubr/nnvM9a2VBcs/ZZ+/PPiA/9z57x5SUlJQIBwIIIIAAAggggAACCCCAgCUFYghtluwXKoUAAggggAACCCCAAAIIGAFCGw8CAggggAACCCCAAAIIIGBhAUKbhTuHqiGAAAIIIIAAAggggAAChDaeAQQQQAABBBBAAAEEEEDAwgKENgt3DlVDAAEEEEAAAQQQQAABBAhtPAMIIIAAAggggAACCCCAgIUFCG0W7hyqhgACCCCAAAIIIIAAAggQ2ngGEEAAAQQQQAABBBBAAAELCxDaLNw5VA0BBBBAAAEEEEAAAQQQILTxDCCAAAIIIIAAAggggAACFhYgtFm4c6gaAggggAACCCCAAAIIIEBo4xlAAAEEEEAAAQQQQAABBCwsQGizcOdQNQQQQAABBBBAAAEEEECA0MYzgAACCCCAAAIIIIAAAghYWIDQZuHOoWoIIIAAAggggAACCCCAAKGNZwABBBBAAAEEEEAAAQQQsLAAoc3CnUPVEEAAAQQQQAABBBBAAAFCG88AAggggAACCCCAAAIIIGBhAUKbhTuHqiGAAAIIIIAAAggggAAChDaeAQQQQAABBBBAAAEEEEDAwgKENgt3DlVDAAEEEEAAAQQQQAABBAhtPAMIIIAAAggggAACCCCAgIUFCG0W7hyqhgACCCCAAAIIIIAAAggQ2ngGEEAAAQQQQAABBBBAAAELCxDaLNw5VA0BBBBAAAEEEEAAAQQQILTxDCCAAAIIIIAAAggggAACFhYgtFm4c6gaAggggAACCCCAAAIIIEBo4xlAAAEEEEAAAQQQQAABBCwsQGizcOdQNQQQQAABBBBAAAEE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2olacwBBBAAAEEwixAaAszOLdDAAEEEBApL7QxGsaTgQACCCCAQPkChDaeDAQQQACBiAiUDWkVBTlX5dynU7rOdb9Gf+/pXNdnlZ3n+rzs9M2KrosIHjdFAAEEEHCUAKHNUd1NYxFAAAHrCJQNXOWFpPKCmragbLDyFAA93ae80Oe6p7fXWUeUmiCAAAII2FWA0GbXnqVdCCCAgMUFfA1FlZ2vzfW0uEllUzIrC34VlW9xZqqHAAIIIGADAUKbDTqRJiCAAALRKFDeFEdXO9ynIrq3rbxRMPfPy5vCWNl9KirTl+ma0ehPnRFAAAEEokeA0BY9fUVNEUAAAVsJeBumyjba23fhNIx5OwXT0yhcZSN0tuoUGoMAAgggYEkBQpslu4VKIYAAAvYX8CW0VTY1sqL34by9rrKpkZW9b2f/3qKFCCCAAAKRFCC0RVKfeyOAAAIOFyhvFMtFUtkqj+50ZadTepry6LquokVO9PPyQpz7/cp7d87hXUnzEUAAAQRCKEBoCyEuRSOAAAIIIIAAAggggAACgQoQ2gIV5HoEEEAAAQQQQAABBBBAIIQChLYQ4lI0AggggAACCCCAAAIIIBCoAKEtUEGuRwABBBBAAAEEEEAAAQRCKEBoCyEuRSOAAAIIIIAAAggggAACgQoQ2gIV5HoEEEAAAQQQQAABBBBAIIQChLYQ4lI0AggggAACCCCAAAIIIBCowP8DapM4qDehROsAAAAASUVORK5CYII=">

 

And the following tag works fine,

<img src="https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png">

 

How can I save a page with image tag which has the image as data ?

 

2 answers

Confluence has some HTML validation on PageCreate event, that is why some tags may be skipped\ignored.
As a workaround, try to wrap you image to <html> macro, like this:

<ac:structured-macro ac:name="html">
   <ac:plain-text-body> <![CDATA[<img src="data..."/>]]> </ac:plain-text-body>
</ac:structured-macro>

Thank you @Domenico Manzo. Is there any alternative to store image tags with data. I read that using HTML is not recommended.  

I am getting Unknown macro html.

Pradeep,

Can you make sure your HTML Macro is enabled on your instance?

See Enabling the HTML Macro from HTML Macro for information on that.

Regards,

Shannon

Thank you Shannon. But it is not recommended to enable HTML macro. Is there any alternative to avoid remove/ignoring the tags?

I don't have any recommended alternatives but perhaps @Domenico Manzo on the first answer might have another recommendation?

Regards,

Shannon

Pradeep,

I spoke with a member of the Confluence Server team, and they let me know it is related to this:

This is due to the fact that there is no URI linking Natively in Confluence, and we do not have plans to include it in the near future.

Therefore, the HTML macro is your only workaround.

Let us know if you have any further questions.

Regards,

Shannon

@Shannon Spaniol,

Thank you so much for the update. I have one more question. All the scripts along with script tags are also ignored by confluence. Is it an expected behavior? Is there any way I can persist scripts in the content ?

Pradeep,

The JavaScript would also need to be in the HTML macro to run:

How to use JavaScript in Confluence

However, this is the sort of thing that would open you up to cross-site scripting issues.

Let us know if you have any questions about this.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

349 views 16 18
Read article

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