[ImageManager] element index

Package indexes

All elements
c d e f g h i l m n p q s t u v w _
_
top
Method _delDir
ImageManager::_delDir() in ImageManager.php
Delete directories recursively.
Method _delFile
ImageManager::_delFile() in ImageManager.php
Delete the relative file, and any thumbnails, if enabled
Method _dirs
ImageManager::_dirs() in ImageManager.php
Recursively travese the directories to get a list of accessable directories.
Method _processFiles
ImageManager::_processFiles() in ImageManager.php
Process upload files. The file must be an
Variable $_uid
ImageEditor::$_uid in ImageEditor.php
user based on IP address
c
top
Variable $config
ImageManager::$config in ImageManager.php
Configuration array.
Method countFiles
ImageManager::countFiles() in ImageManager.php
Count the number of files and directories in a given folder minus the thumbnail folders and thumbnails.
Page config.inc.php
config.inc.php in config.inc.php
Method cleanUp
ImageEditor::cleanUp() in ImageEditor.php
Delete any tmp image files.
Method createUnique
ImageEditor::createUnique() in ImageEditor.php
Create unique tmp image file name.
Method copyFile
Files::copyFile() in Files.php
Copy a file from source to destination. If unique == true, then if the destination exists, it will be renamed by appending an increamenting counting number.
Method createFolder
Create a new folder.
Method createThumbnail
Create a thumbnail.
d
top
Variable $dirs
ImageManager::$dirs in ImageManager.php
Array of directory information.
Method deleteDirs
ImageManager::deleteDirs() in ImageManager.php
Delete specified directories.
Method deleteFiles
ImageManager::deleteFiles() in ImageManager.php
Delete and specified files.
Function drawDirs
drawDirs() in images.php
Draw the directory.
Function drawErrorBase
drawErrorBase() in images.php
No directories and no files.
Function drawFiles
drawFiles() in images.php
Draw the files in an table.
Function drawNoResults
drawNoResults() in images.php
No directories and no files.
Method delFile
Files::delFile() in Files.php
Delete a file.
Method delFolder
Files::delFolder() in Files.php
Delete folder(s), can delete recursively.
Variable $driver
Thumbnail::$driver in Thumbnail.php
Graphics driver, GD, NetPBM or ImageMagick.
e
top
Page editorFrame.php
editorFrame.php in editorFrame.php
Page editor.php
editor.php in editor.php
Method escape
Files::escape() in Files.php
Escape the filenames, any non-word characters will be replaced by an underscore.
f
top
Constant FILE_COPY_OK
FILE_COPY_OK in Files.php
Constant FILE_ERROR_COPY_FAILED
Constant FILE_ERROR_DST_DIR_FAILED
Constant FILE_ERROR_NO_SOURCE
File Utilities.
Page Files.php
Files.php in Files.php
Variable $filesaved
ImageEditor::$filesaved in ImageEditor.php
Class Files
Files in Files.php
File Utilities
Method fixPath
Files::fixPath() in Files.php
Append a / to the path if required.
Method formatSize
Files::formatSize() in Files.php
Format the file size, limits to Mb.
Method free
Thumbnail::free() in Thumbnail.php
Free up the graphic driver resources.
g
top
Method getDefaultThumb
Get the default thumbnail.
Method getDirs
ImageManager::getDirs() in ImageManager.php
Get the sub directories in the base dir.
Method getFiles
ImageManager::getFiles() in ImageManager.php
Get all the files and directories of a relative path.
Method getFileURL
ImageManager::getFileURL() in ImageManager.php
Get the URL of the relative file.
Method getFullPath
ImageManager::getFullPath() in ImageManager.php
Get the fullpath to a relative file.
Method getImageInfo
ImageManager::getImageInfo() in ImageManager.php
Get image size information.
Method getImagesDir
ImageManager::getImagesDir() in ImageManager.php
Get the images base directory.
Method getImagesURL
ImageManager::getImagesURL() in ImageManager.php
Get the images base URL.
Method getThumbnail
ImageManager::getThumbnail() in ImageManager.php
Get the thumbnail url to be displayed.
Method getThumbName
ImageManager::getThumbName() in ImageManager.php
For a given image file, get the respective thumbnail filename no file existence check is done.
Method getThumbURL
ImageManager::getThumbURL() in ImageManager.php
Similar to getThumbName, but returns the URL, base on the
Method getTmpPrefix
ImageManager::getTmpPrefix() in ImageManager.php
Get the tmp file prefix.
Method getAction
ImageEditor::getAction() in ImageEditor.php
Get the action GET parameter
Method getDefaultSaveFile
Get the default save file name, used by editor.php.
Method getImageType
ImageEditor::getImageType() in ImageEditor.php
Get the image type base on an image file.
Method getSaveFileName
Get the file name base on the save name and the save type.
Method getUniqueFilename
Get a unique filename. If the file exists, the filename base is appended with an increasing integer.
h
top
Variable $height
Thumbnail::$height in Thumbnail.php
Thumbnail default height.
i
top
Method ImageManager
ImageManager::ImageManager() in ImageManager.php
Constructor. Create a new Image Manager instance.
Class ImageManager
ImageManager in ImageManager.php
ImageManager Class.
Constant IMAGE_CLASS
IMAGE_CLASS in config.inc.php
Image Library to use.
Constant IMAGE_TRANSFORM_LIB_PATH
IMAGE_TRANSFORM_LIB_PATH in config.inc.php
NetPBM or IM binary path.
Constant IM_CONFIG_LOADED
IM_CONFIG_LOADED in config.inc.php
Editor Temporary File Prefix.
Method isThumb
ImageManager::isThumb() in ImageManager.php
Check if the file contains the thumbnail prefix.
Method isThumbDir
ImageManager::isThumbDir() in ImageManager.php
Check if the given directory is a thumbnail directory.
Method isTmpFile
ImageManager::isTmpFile() in ImageManager.php
Check if the given file is a tmp file.
Method isValidBase
ImageManager::isValidBase() in ImageManager.php
Page ImageEditor.php
ImageEditor.php in ImageEditor.php
Page ImageManager.php
ImageManager.php in ImageManager.php
Page images.php
images.php in images.php
Method ImageEditor
ImageEditor::ImageEditor() in ImageEditor.php
Create a new ImageEditor instance. Editing requires a
Class ImageEditor
ImageEditor in ImageEditor.php
Handles the basic image editing capbabilities.
Method isFileSaved
ImageEditor::isFileSaved() in ImageEditor.php
Did we save a file?
Method isGDEditable
ImageEditor::isGDEditable() in ImageEditor.php
Check if the specified image can be edit by GD
Method isGDGIFAble
ImageEditor::isGDGIFAble() in ImageEditor.php
Check if GIF can be edit by GD.
l
top
Variable $lapse_time
ImageEditor::$lapse_time in ImageEditor.php
tmp file storage time.
m
top
Page manager.php
manager.php in manager.php
Variable $manager
ImageEditor::$manager in ImageEditor.php
ImageManager instance.
Method makeRelative
ImageEditor::makeRelative() in ImageEditor.php
Specifiy the original relative path, a new filename and return the new filename with relative path.
Method makeFile
Files::makeFile() in Files.php
Similar to makePath, but the second parameter is not only a path, it may contain say a file ending.
Method makePath
Files::makePath() in Files.php
Concat two paths together. Basically $pathA+$pathB
n
top
Page newFolder.php
newFolder.php in newFolder.php
p
top
Method processNewDir
ImageManager::processNewDir() in ImageManager.php
Create new directories.
Method processUploads
ImageManager::processUploads() in ImageManager.php
Process uploaded files, assumes the file is in $_FILES['upload'] and $_POST['dir'] is set.
Method processAction
ImageEditor::processAction() in ImageEditor.php
Process the actions, crop, scale(resize), rotate, flip, and save.
Method processImage
ImageEditor::processImage() in ImageEditor.php
Process the image, if not action, just display the image.
Variable $proportional
Thumbnail::$proportional in Thumbnail.php
Thumbnail is proportional
q
top
Variable $quality
Thumbnail::$quality in Thumbnail.php
Thumbnail default JPEG quality.
s
top
Method save
Thumbnail::save() in Thumbnail.php
Save the thumbnail file.
t
top
Page Thumbnail.php
Thumbnail.php in Thumbnail.php
Page thumbs.php
thumbs.php in thumbs.php
Variable $type
Thumbnail::$type in Thumbnail.php
Default image type is JPEG.
Method Thumbnail
Thumbnail::Thumbnail() in Thumbnail.php
Create a new Thumbnail instance.
Class Thumbnail
Thumbnail in Thumbnail.php
Thumbnail creation
u
top
Method uniqueStr
ImageEditor::uniqueStr() in ImageEditor.php
Generate a unique string based on md5(microtime()).
v
top
Method validRelativePath
Check if the given path is part of the subdirectories under the base_dir.
w
top
Variable $width
Thumbnail::$width in Thumbnail.php
Thumbnail default width.
c d e f g h i l m n p q s t u v w _