Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: bimaps in webserver Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: May 26 2004 at 20:37 | IP Logged Quote npavkov

dave, I am having a problem getting the bitmap files to display in x10 status screen on webserver.

it would be kool if you could load multiple bitmaps or other pictures into the control center. I know you can put a picture in control center as background, but I was thinking it would be neet if I could load a picture into the control center buttons, is that at all possible.

 

Nick

Back to Top View npavkov's Profile Search for other posts by npavkov
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 26 2004 at 21:30 | IP Logged Quote dhoward

Nick,

The internal Control Center and X-10 status screen are capable of displaying bitmap files, GIF files, JPEG's, etc.  However, the webserver (actually the clients browser) are only capable of GIF's and JPEG's so if possible, you'll want to stick to these formats so as to be compatible with both the web and the internal clients.

Another thing you'll want to be sure and do so that images work both in PowerHome and the browser is to locate your images in either the webserver directory or a subdirectory beneath it.  The PowerHome client can display the images from anywhere, however, the webserver can only access files within it's directory structure (it's a security issue).

One of the things Im working on for a future version of PowerHome is an enhancement to the Control Center where you'll be able to place additional objects on the tabs including images, lines, static text, rectangles, etc.  Even when this functionality is implemented, you'll want to try and limit the number of extra objects because it'll add to the time it takes to render the Control Center.

In the meantime, what Ive done is designed a background image with the pictures that I would like on the Control Center buttons as a part of the image.  I then declare those buttons as having a "transparent" background so it looks as if the button actually has the image.  You can see an example of this in the manual.  The image that was used is included with PowerHome and should be in the webserver directory and called QC.GIF.

Hope this helps,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: June 13 2004 at 23:50 | IP Logged Quote npavkov

Dave...Apparrently my problem was because there were spaces in the filename for the gif file. Web server apparrently does not like the spaces in the name. Took spaces out....Works fine now...Thanks again....Nick
Back to Top View npavkov's Profile Search for other posts by npavkov
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 14 2004 at 11:30 | IP Logged Quote dhoward

Nick,

Glad to hear you found the problem.  Checked it out and you're right...the PowerHome webserver will not serve local files containing spaces in the name.  Ive gone ahead and made the necessary changes so this should be corrected in the next version.

Thanks,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum