Image Replace GIF Images with PNG for Offline Manual
Asked by irina chumanova:

Recently, we started to use GIF images in the documentation. But some of our customers need offline documentation. Is there a known way to add a static image like PNG as a GIF image replacement for the exported offline documentation?


Answers:
author: Matt Reiner [K15t]
body: Hi [@irina chumanova](/t5/user/viewprofilepage/user-id/1190689)

If you're exporting the documentation using my team's Scroll PDF exporter app, you could add the GIFs to your pages within a [Scroll ignore macro](https://help.k15t.com/scroll-pdf-exporter/latest/server/ignore-content-in-exports-165944604.html) and right below, add a [Scroll Only](https://help.k15t.com/scroll-pdf-exporter/latest/server/ignore-content-in-confluence-but-include-it-in-exports-165944610.html) macro with the PNG version of the image.

In this way, readers in Confluence will see the GIF and people reading the PDF will see the PNG.

comments: author: Shannon S
body: Thank you, Matt! I was just suggesting some of your team's add-ons and I hadn't seen you replied already. ?

Shannon


author: Matt Reiner [K15t]
body: Glad to see you're on the case [@Shannon S](/t5/user/viewprofilepage/user-id/510046)


author: irina chumanova
body: Thanks a lot, Matt and Shannon. Yes, we export using Scroll PDF Exporter. We'll try to use macros as you suggested.


author: Violet Green
body: How do you add the "GIFs to your pages within a Scroll ignore macro"?  
What file formats are allowed besides GIFs?  
Are there size limits?

Thank you!


author: Shannon S
body: Hello [@irina chumanova](/t5/user/viewprofilepage/user-id/1190689),

Happy to help you to come up with a solution for this.

How will your offline documentation be stored? If your Confluence instance is simply offline, then you can just attach the GIFs to your page and they will display anyway because they're local to your instance.

If you're exporting to PDF or Word then it should just display the static image on the page.

Otherwise, there are some 3rd party add-ons that allow you to modify your exported pages according to your requirements:

* [Export Template Add-ons for Confluence](https://marketplace.atlassian.com/search?product=confluence&query=export%20template)

I hope that helps, but let us know if you have any questions.

Regards,

Shannon

comments: author: irina chumanova
body: I tried Scroll PDF exporter but it does not work. The problem may be we have an older version (4.9.1) and we need to update. But the macros worked neither for the exported file nor for the web page. Do not know why. I'll try some other solutions.


author: Thomas Rough _K15t_
body: Hi Irina,

Thanks for the reply. What specifically wasn't working? Was the excluded content within the Scroll macros being included in your generated export? Or was the export failing?

To further investigate the issue you're facing, it would be great if you could send some additional information to support@k15t.com and we can then continue the conversation within a support ticket that will be created.

Look forward to your response.

Cheers, Thomas (K15t)


Tags: atlassian-marketplace

confluence-server

server