Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:06 Go to next message
Tomas Normark is currently offline Tomas NormarkFriend
Messages: 8
Registered: September 2010
Junior Member
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 10:01 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 11:57 Go to previous message
Tomas Normark is currently offline Tomas NormarkFriend
Messages: 8
Registered: September 2010
Junior Member
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 Feb 26 17:42:11 GMT 2020

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

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

Back to the top