This widget creates a N by x visual table of thumbnails.
Located in /widgets/ImageThumbnailWidget.inc (line 20)
Container | --BaseWidget | --ImageThumbnailWidget
The number of columns for a page.
holds the prefix for all variables that are added to a url, so we can possibly have more then 1 of these per page.
Holds the name of the offset variable. It's prefixed w/ the _global_prefix var.
Array of supported image type flags.
Inherited from BaseWidget
BaseWidget::$title
BaseWidget::$width
BaseWidget::$_image_prefix
Constructor for this class It just sets the width for the widget.
build the list of images
from a directory on disk
build the link td.
this function builds a cache dir of thumbnails, so we don't have to render thumbnails every time we hit the thumbnails page.
Builds a thumbnail version of a file, and writes it to disk.
function that will render the widget.
child class should override this.
This tests to see what type of gd lib image format this server supports.
Is thie offset for the last page?
Calculate the # of items on a page.
Calculate the item # for the offset.
Calculate the # of items to on a particular page.
Calculate the number of
pages possible for this list of thumbnails. It depends on the # of columns, and the max thumbs per page, and the total.
Get the current value of the offset var
Render the entire widget. this includes the page offset links, as well as the thumbnails.
Calculates the # of rows per page possible.
set how many columns the user wants to display per row of thumbnails.
Set the full path on disk where the images live.
This function sets a prefix for all variables that are used in the item list table on a page. This allows you to have multiple itemlists on a single html page.
set how many thumbnails to display per page.
Sets all thumnail dimensions.
Set the url for the thumbnail generation script.
Set the base url path where the files live on the web site.
This function strips the offset
Make sure the maxthumbsperpage isn't > then total items.
returns the total # of items we have to display.
write the image to disk.
We assume we have write permissions to the images dir.
Try and create the thumbnail cache dir.
discover the type of image based off of the extension
Inherited From BaseWidget
BaseWidget::get_align()
BaseWidget::get_css()
BaseWidget::get_javascript()
BaseWidget::get_title()
BaseWidget::get_width()
BaseWidget::set_align()
BaseWidget::set_image_path_prefix()
BaseWidget::set_title()
BaseWidget::set_width()
Inherited From Container
Container::Container()
Container::add()
Container::add_reference()
Container::count_content()
Container::get_element()
Container::get_indent_flag()
Container::push()
Container::push_reference()
Container::render()
Container::reset_content()
Container::set_collapse()
Container::set_indent_flag()
Documentation generated on Fri, 28 Jan 2011 08:53:09 -0500 by phpDocumentor 1.4.3