Author |
|
jsferra1 Newbie
Joined: February 23 2006 Location: United States
Online Status: Offline Posts: 8
|
Posted: March 21 2006 at 07:39 | IP Logged
|
|
|
Hello,
I set my graphics fields in on the setup page to use on.gif, off.gif and dim.gif. They seem to work ok on the device status page. but when I lok at the default web page which looks like the device status page the graphics is not being displayed. There is a place holder for them but the graphics is not there.
I know this is a nit and most folks do not use the default page, but until I get around to building my own page I use will use the default page.
__________________ Jim .....
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: March 21 2006 at 21:51 | IP Logged
|
|
|
Welcome to PowerHome!
When you set the graphics for the X10 types, are the graphics in either the webserver directory or a subdirectory? The webserver can only see within it's directory or it's subdirectories. If you want the icons to be available in both the client Device Status screen as well as the web version, just make sure that the graphics are within the web directory structure.
Let me know if this takes care of your problem or not.
Thanks,
Dave.
|
Back to Top |
|
|
jsferra1 Newbie
Joined: February 23 2006 Location: United States
Online Status: Offline Posts: 8
|
Posted: March 22 2006 at 11:18 | IP Logged
|
|
|
Dave,
Hi, the graphics are the default gif's that where installed with PowerHome and they are in the web directory. I see them just fine in the device status window, but when I open the default page for the web server (i.e. just going to http://localhost:85) all I see if the X where the graphics should be. and if I look at the html that was sent I see where the src="" is so it looks like the image source path and file name is not being set.
I could be all wrong in thinking that they should show up on the web page but the X where the graphic should be is there.
__________________ Jim .....
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: March 22 2006 at 12:45 | IP Logged
|
|
|
Jim,
That is odd. You are correct, the graphics should show up on the web page.
I just tested on my end and it's working here, so there must be something different going on. If a graphic isnt specified in the X10 types, then it wont create the img tag. The fact that you're getting the image tag created means that it does see that a graphic is defined, but since it's src is blank, it's got to be confused somehow.
One thing to try...try hitting the webpage using http://127.0.0.1:85/ph-cgi/main. Let me know if that makes any difference. Also, try emailing me your pwrhome.ini file and I'll make sure that nothing wierd is going on there.
Let me know,
Dave.
|
Back to Top |
|
|