ICS-GS
01 Oct 07, 03:13 PM
I don’t know if anyone else has tried this, or something similar.
I am by no means a HTML or networking expert, but I do know my way around some of this to an extent.
I have a software package which catalogues my photos. One of its features is that it can create a web page slideshow of selected photos.
It scales down the images (I have set it to less than 640*480) and creates a .html file (say index.html) in the target folder (say c:\CTC Screen saver). It also creates two sub folders \CTC Screen saver\images and \CTC Screen saver\webimages. The \images folder contains all the scaled down photos, in jepg format and the \webimages contains some icons for the slideshow control (play, pause, next, previous) again in .jpeg format.
When I click on the index.html file, it opens my browser and everything is fine. I can also navigate to it from any other PC on the (local) network, again it works fine.
So I thought, my colour touch screen supports displaying html images, this might just work… I will be able to display a slideshow on my timeout page without having to load all the images onto a dummy page. (and also not consume any additional space on the flashcard), not only that but I could make up several slideshows, and as required change the filenames to index.html, as required, and not have to alter the software every time. And as this computer is hardly ever turned off there should be no worries…
Well I did just that, grabbed out my laptop, created a new page in my PICED file, set it as the timeout page, selected a new html image, hit browse, found the target URL or file ( \\computer x\c\CTC screen saver\index.html ) over the network, clicked OK, and everything worked. The preview in PICED was exactly how I thought it should be.
So I went to transferred the project to my touch screen, with no problems so far, when the screen started up and the timeout page loaded the ‘dynamic’ text, “showing slide x of y” was OK and incremented at every interval. But all the images were just showing a big red x in place of the images. I went back to PICED, and sure enough it was now doing the same. So I double clicked on the html image, and found the target had changed to C:\clipsal\piced\projects\myhouse\index.html, So I checked inside the project directory and sure enough, an exact copy of index.html was there, so I changed it back to the network address, compiled it again, the same thing happened again.
My next though was to look over the html code, the references it was making were in the shortened format (i.e.: \images) so I changed them to include the full path \\computer x\c\CTC screen saver\images\filename. Some slightly better success, the preview still worked in PICED after compile time, but after loading to the screen, again big red X symbols.
Is there something that I am missing here, I understand I am not using a ‘www’ type address, but is there a way of stopping PICED from copying the html file in its entirety to the PICED project directory, and just referring to the network folder?
Or is there something else that I am missing, can the CTC not resolve the computer name, do I need to set the PC up with a static IP address and point to that? Do I need some sort of server software?
Once I get this working. I would like to post it here as I am sure others would like the same sort of thing on their systems.
Thanks
Grant
I am by no means a HTML or networking expert, but I do know my way around some of this to an extent.
I have a software package which catalogues my photos. One of its features is that it can create a web page slideshow of selected photos.
It scales down the images (I have set it to less than 640*480) and creates a .html file (say index.html) in the target folder (say c:\CTC Screen saver). It also creates two sub folders \CTC Screen saver\images and \CTC Screen saver\webimages. The \images folder contains all the scaled down photos, in jepg format and the \webimages contains some icons for the slideshow control (play, pause, next, previous) again in .jpeg format.
When I click on the index.html file, it opens my browser and everything is fine. I can also navigate to it from any other PC on the (local) network, again it works fine.
So I thought, my colour touch screen supports displaying html images, this might just work… I will be able to display a slideshow on my timeout page without having to load all the images onto a dummy page. (and also not consume any additional space on the flashcard), not only that but I could make up several slideshows, and as required change the filenames to index.html, as required, and not have to alter the software every time. And as this computer is hardly ever turned off there should be no worries…
Well I did just that, grabbed out my laptop, created a new page in my PICED file, set it as the timeout page, selected a new html image, hit browse, found the target URL or file ( \\computer x\c\CTC screen saver\index.html ) over the network, clicked OK, and everything worked. The preview in PICED was exactly how I thought it should be.
So I went to transferred the project to my touch screen, with no problems so far, when the screen started up and the timeout page loaded the ‘dynamic’ text, “showing slide x of y” was OK and incremented at every interval. But all the images were just showing a big red x in place of the images. I went back to PICED, and sure enough it was now doing the same. So I double clicked on the html image, and found the target had changed to C:\clipsal\piced\projects\myhouse\index.html, So I checked inside the project directory and sure enough, an exact copy of index.html was there, so I changed it back to the network address, compiled it again, the same thing happened again.
My next though was to look over the html code, the references it was making were in the shortened format (i.e.: \images) so I changed them to include the full path \\computer x\c\CTC screen saver\images\filename. Some slightly better success, the preview still worked in PICED after compile time, but after loading to the screen, again big red X symbols.
Is there something that I am missing here, I understand I am not using a ‘www’ type address, but is there a way of stopping PICED from copying the html file in its entirety to the PICED project directory, and just referring to the network folder?
Or is there something else that I am missing, can the CTC not resolve the computer name, do I need to set the PC up with a static IP address and point to that? Do I need some sort of server software?
Once I get this working. I would like to post it here as I am sure others would like the same sort of thing on their systems.
Thanks
Grant