Skip to main content



      Home
Home » Archived » EPF » SVG in EPF
SVG in EPF [message #1407790] Wed, 13 August 2014 09:03 Go to next message
Eclipse UserFriend
Hi
I want to embed an interactive *.svg file in EPF. Do you know how ?
Re: SVG in EPF [message #1417694 is a reply to message #1407790] Fri, 05 September 2014 18:31 Go to previous messageGo to next message
Eclipse UserFriend
The trick is to get EPF Composer to copy the svg file over during publishing.
Example and template elements allow you to attach files, and those files are copied over during publishing.

So here is what I did:

1. Created a template
2. Attached an svg file. It gets placed in the "resources" subfolder of the templates directory in my plug-in.
3. In another element's description (in this case, a concept page) I referenced
the svg file using a relative path:
E.g. <img src="../templates/resources/example_square.svg" />

Hope that helps.


Re: SVG in EPF [message #1417695 is a reply to message #1417694] Fri, 05 September 2014 18:33 Go to previous message
Eclipse UserFriend
I noticed that the svg file did not render correctly in preview or browsing mode, but when published, it worked just fine.
Previous Topic:EPF All practices library
Next Topic:Published Navigation Views
Goto Forum:
  


Current Time: Mon Jul 07 18:38:08 EDT 2025

Powered by FUDForum. Page generated in 1.05091 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top