Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Using an image in body.html for a branding
Using an image in body.html for a branding [message #1385189] Wed, 04 June 2014 17:06 Go to next message
Eclipse UserFriend
To show a splash screen when starting a RAP application I would like to show an image in the body.html page I have specified in the branding extension point. However I am having trouble getting it to find the image. I do not know what to write in the src attribute for the img element to get it to find the image.

The image is next to the body.html file inside a plug-in. Is there some syntax for specifying a path to an image inside a plug-in or is there some over way I can get the body.html file to find the image?

Best regards,

Tomas Normark
Re: Using an image in body.html for a branding [message #1385270 is a reply to message #1385189] Thu, 05 June 2014 06:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi Tomas,
you have to register your image resources with equinox HTTP registry.
See this article for more details [1].

[1] https://www.eclipse.org/equinox/server/http_writing_application.php
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Using an image in body.html for a branding [message #1385286 is a reply to message #1385270] Thu, 05 June 2014 07:57 Go to previous message
Eclipse UserFriend
Thanks Ivan,

This was the thing I had not realized you needed to do. It now works fine for me.

Tomas
Previous Topic:RAP 2.3.0 RC2 Client error Cannot read property 'getFocusedChild' of null
Next Topic:CTabFolder menu problem
Goto Forum:
  


Current Time: Wed Jul 16 18:12:29 EDT 2025

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

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

Back to the top