dokeos-document
[ class tree: dokeos-document ] [ index: dokeos-document ] [ all elements ]

Procedural File: document_slideshow.inc.php

Source Location: /main/document/document_slideshow.inc.php



Page Details:

This is a plugin for the documents tool. It looks for .jpg, .jpeg, .gif, .png files (since these are the files that can be viewed in a browser) and creates a slideshow with it by allowing to go to the next/previous image.

You can also have a quick overview (thumbnail view) of all the images in that particular folder.

Each slideshow is folder based. Only the images of the chosen folder are shown.

This file has two large sections.

  1. code that belongs in document.php, but to avoid clutter I put the code here
(not present) 2. the function resize_image that handles the image resizing




Tags:

author:  Roan Embrechts, minor cleanup
author:  Patrick Cool, responsible author
filesource:  Source Code for this file








sort_files [line 122]

void sort_files( $table)

This is a plugin for the documents tool. It looks for .jpg, .jpeg, .gif, .png files (since these are the files that can be viewed in a browser) and creates a slideshow with it by allowing to go to the next/previous image.

You can also have a quick overview (thumbnail view) of all the images in that particular folder.

Each slideshow is folder based. Only the images of the chosen folder are shown.

This file has two large sections.

  1. code that belongs in document.php, but to avoid clutter I put the code here
(not present) 2. the function resize_image that handles the image resizing




Tags:

author:  Roan Embrechts, minor cleanup
author:  Patrick Cool, responsible author
filesource:  Source Code for this file


Parameters

   $table  
[ Top ]



sort_table [line 151]

void sort_table( $a, $b)



Parameters

   $a  
   $b  
[ Top ]



Documentation generated on Thu, 12 Jun 2008 13:20:18 -0500 by phpDocumentor 1.4.1