Configuring a page to display picture

Photo : Alexandre PERETJATKO

Photo : Alexandre PERETJATKO

Configuring a page to display picture

Please, note that this tutorial will not deal how to setup a LAMP.
100% Complete

As we have seen before (see "command.sh"), the picture is transfered in a directory name /var/www/html/webcam/pictures, so the PHP script will display this picture and reload it every minute (60 seconds).

Here is the index.html :

<html lang="en">
  <head>
    <title>My beautiful webcam</title>

    <META HTTP-EQUIV="Refresh" CONTENT="60; URL=index.html">
    
  </head>
  <body>

        <div data-src="pictures/viewcam.jpg"></div>

  </body>
</html>

Other projects in this section

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Copyright © 2015 Alex-design.fr All rights reserved.