Skip to content

SWuchterl/php-plots

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-plots

PHP based web index for image displaying.

Original code from Giovanni Petrucciani (@gpetruc).

This project contains a PHP web index script to help visualizing folders with many images.

It is tailored to people working in High Energy Physics that use ROOT (http://root.cern.ch) to produce their plots.

Setup

  1. cd into your web folder

     cd <my-path>
    
  2. Clone this repository (and its submodule jsroot)

     git clone --recursive https://github.com/simonepigazzini/php-plots.git
    
  3. Copy the example/htaccess file into .htaccess and edit its content to suit your needs.

     cp -p example/htaccess .htaccess
     $EDITOR .htacces
    
  4. Copy res/ jsroot/ and index.php into your web page top directory.

     cp -r res/ /path/to/www/
     cp -r jsroot/ /path/to/www/
     cp index.php /path/to/www/
    
  5. Open the web folder into your browser.

  6. Enjoy.

Features

  1. Detect if a file is present with multiple formats.

  2. Filter files to be selected with wild-cards or regex.

  3. Zoom in/out images with double-click.

  4. Rearrange images with drag and drop.

  5. Overlay content of .txt version on mouse hover.

Example

https://musella.web.cern.ch/musella/php-plots

About

PHP based web index for image displaying

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 69.3%
  • CSS 27.0%
  • JavaScript 3.7%