loading
 
webServer Index help
Ricardo Sampaio from Portugal  [7 posts]
14 year
Hi all im having trouble punting images on the index.html to show on the webserver, if i put the image whit a link form a website like "http:\\web.image.jpg" the image appear normally, if i put locally like "\image.jpg" it show a second camera frame as the normal one.

Did any one made a more complex index that can share so i can take a look?
Thx in advance
Anonymous 14 year
Ricardo,

Can you zip up and post the page here? the above links do not appear correct. For example http:\\\\web.image.jpg is incorrect and should appear like

http:\\localhost\web.image.jpg

or something with a domain name. Note that when the RR webserver sees something it does not understand it will simply return the .jpg of the current image being processed ...

In order to create an image link in the index.html page use

.jpeg instead of .jpg as the RoboRealm Server attempts to be compatible with most streaming applets and requires the .jpg extension to be reserved to start streaming. Other images like .gif and .png are the same as usual.

STeven.
zuack from Portugal  [4 posts] 14 year
Hello, we have a problem when we access the address: 127.0.0.1, when directly access the html file does not exist any problem ...
Here is the piece of code that I modified in the file and the original:

Original:
<tr>
  <td colspan=2 align=center>
    <input type="button" value="DOWN" onclick="setVariable('move=2')">
  </td>
</tr>

We modified to:
<tr>
  <td colspan=2 align=center>
    <input type="image" scr=remo.gif value="DOWN" onclick="setVariable('move=2')">
  </td>
</tr>

Already experimented with pictures .jpg, .jpeg and .gif no work

Thank's
Anonymous 14 year
zuack,

Try using "src" instead of "scr". You have a typo in your HTML. It should be

<tr>
  <td colspan=2 align=center>
    <input type="image" src=remo.gif value="DOWN" onclick="setVariable('move=2')">
  </td>
</tr>

STeven.
zuack from Portugal  [4 posts] 14 year
still does not work: S I tried everything not know what is blocking the images ...
Anonymous 14 year
What happens when you type in

http://localhost:8080/remo.gif

? Can you ensure that you clear your browser cache?

Also be sure to have more than 1 thread in the webserver active. Its in the Options->Web Server config interface under "Max Connections". Make sure that is at least 10. The default is set to 1 for security reasons.

STeven.
zuack from Portugal  [4 posts] 14 year
when I open this address (the image) it open normally ... but when I put that image in the index it show a normal button or an error in the image ....

Yes even clearing the cache it continues with the same problem I already see in 3 different computers and that happens ... the max connections is 10 also ....
Anonymous 14 year
Can you respond once again with the page that you are using? Perhaps you can zip it up and post it here?

It seems that something may be wrong with your HTML again. If the image is seen when using the url directly then the server is responding with the image correctly.

STeven.
zuack from Portugal  [4 posts] 14 year
hi again sorry .. here are the images and the html file
zuack from Portugal  [4 posts] 14 year
http://www.sendspace.com/file/1rat7p
Anonymous 14 year
zuack,

Due to security reasons RoboRealm does not have the ability to use subfolders in image paths. So using /images/up.gif would not work as the webserver would instead be checking for /up.gif.

We do, however, understand the need to organize things a little better. So we have now added a webroot folder were all the web related files should go in order to be served by the webserver. Note that you should NOT create any subfolders in that folder but instead put all html and image files in a flat structure.

Please download 2.18.4 and install over your current install. It will create a

c:\program files\RoboRealm\webroot

folder which you should unzip the attached zip file into. We updated your index.html file and moved the images into the same folder. So unzipping it into webroot/ should do the trick ... but be sure to have downloaded the latest RoboRealm version.

Also, the installation script has been updated to ensure that on new installations your index.html file will NOT be overwritten so your changes should be safe for that file.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index