Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_image.php - 1141 lines - 38640 bytes - Source - Print

Description: Images panel.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 functions

image_list()
image_multiedit_form()
image_multi_edit()
image_edit()
image_insert()
image_replace()
thumbnail_insert()
image_save()
image_delete()
image_change_pageby()
thumbnail_create()
thumbnail_delete()

Functions

Functions that are not part of a class:

image_list($message = '')  line: 70
The main panel listing all images.

param: string|array $message The activity message
image_multiedit_form($page, $sort, $dir, $crit, $search_method line: 443
Renders a multi-edit form widget for images.

return: string HTML
param: int    $page          The page number
param: string $sort          The current sort value
param: string $dir           The current sort direction
param: string $crit          The current search criteria
param: string $search_method The current search method
image_multi_edit()  line: 488
Processes multi-edit actions.

image_edit($message = '', $id = '')  line: 563
Renders and outputs the image editor panel.

param: string|array $message The activity message
param: int          $id      The image ID
image_insert()  line: 793
Creates a new image from an upload.

image_replace()  line: 847
Replaces an image with one from an upload.

thumbnail_insert()  line: 885
Creates a new thumbnail from an upload.

image_save()  line: 938
Saves image meta data.

image_delete($ids = array()  line: 978
Deletes the given image(s) from the database and filesystem.

param: array $ids List of image IDs to delete
image_change_pageby()  line: 1041
Saves pageby value for the image list.

thumbnail_create()  line: 1051
Creates a new thumbnail from an existing image.

thumbnail_delete()  line: 1115
Delete a thumbnail.

title

Body