Home
last modified time | relevance | path

Searched refs:phpThumb (Results 1 – 18 of 18) sorted by relevance

/plugin/photogallery/phpThumb/
DphpThumb.php39 global $phpThumb;
44 …= phpthumb_functions::SanitizeFilename((!empty($phpThumb->src) ? basename($phpThumb->src) : md5($p…
47 …$phpThumb->DebugMessage('SendSaveAsFileHeaderIfNeeded() sending header: Content-Disposition: '.(!e…
54 global $phpThumb;
56 $nice_cachefile = str_replace(DIRECTORY_SEPARATOR, '/', $phpThumb->cache_filename);
57 …$nice_docroot = str_replace(DIRECTORY_SEPARATOR, '/', rtrim($phpThumb->config_document_root, '/\…
61 $nModified = filemtime($phpThumb->cache_filename);
63 …if ($phpThumb->config_nooffsitelink_enabled && !empty($_SERVER['HTTP_REFERER']) && !in_array(@$par…
65phpThumb->DebugMessage('Would have used cached (image/'.$phpThumb->thumbnailFormat.') file "'.$php…
67 } elseif ($phpThumb->phpThumbDebug) {
[all …]
Dlicense.txt2 // phpThumb() by James Heinrich <info@silisoftware.com> //
4 // and/or https://github.com/JamesHeinrich/phpThumb //
10 phpThumb is released under multiple licenses. You may choose
22 phpThumb Commercial License (pTCL):
29 directory of the phpThumb distribution.
DREADME.md1 phpThumb chapter
4 phpThumb() - The PHP thumbnail generator
6 phpThumb() uses the GD library and/or ImageMagick to create thumbnails from images (GIF, PNG or JPE…
DphpThumb.config.php.default3 // phpThumb() by James Heinrich <info@silisoftware.com> //
5 // and/or https://github.com/JamesHeinrich/phpThumb //
10 // THIS CONFIG FILE ONLY APPLIES TO phpThumb.php //
16 … include_once should take care of this, but see https://github.com/JamesHeinrich/phpThumb/issues/94
28 global $PHPTHUMB_CONFIG; // declare as global to prevent scope issues (when including phpThumb.con…
32 // phpThumb() depends on $_SERVER['DOCUMENT_ROOT'] to resolve path/filenames. This value is usually…
43 …ue; // DO NOT DISABLE THIS ON ANY PUBLIC-ACCESSIBLE SERVER. Prevents phpThumb from displaying a…
44 …be set and requires the use of phpThumbURL() function (at the bottom of phpThumb.config.php) to ge…
49 …to be anywhere in filesystem; if false only allow src within sub-directory of phpThumb installation
57 … // set the cache directory relative to the phpThumb() installation
[all …]
Dphpthumb.class.php274 $this->phpThumb();
277 public function phpThumb() { function in phpthumb
967 $this->phpThumb(); // re-initialize some class variables
4340 ….($this->config_disable_debug ? 'Error messages disabled.'."\n\n".'edit phpThumb.config.php and (t…
/plugin/photogallery/phpThumb/demo/
DphpThumb.demo.object.php25 $phpThumb = new phpThumb(); variable
32 $phpThumb->resetObject();
35 $phpThumb->setSourceFilename('images/loco.jpg'); // for static demo only
47 $phpThumb->setParameter('w', $thumbnail_width);
54 $phpThumb->setParameter('config_output_format', 'jpeg');
55 $phpThumb->setParameter('config_imagemagick_path', '/usr/local/bin/convert');
59 …nails/'.basename($_FILES['userfile']['name']).'_'.$thumbnail_width.'.'.$phpThumb->config_output_fo…
60 if ($phpThumb->GenerateThumbnail()) { // this line is VERY important, do not remove it!
61 $output_size_x = imagesx($phpThumb->gdimg_output);
62 $output_size_y = imagesy($phpThumb->gdimg_output);
[all …]
DphpThumb.demo.check.php30 $phpThumb = new phpThumb(); variable
33 $phpThumb->setParameter('config_'.$key, $value);
41 $ServerInfo['im_version'] = $phpThumb->ImageMagickVersion();
123 echo ';">'.$phpThumb->phpthumb_version;
159 $orig_config_cache_directory = $phpThumb->config_cache_directory;
160 $phpThumb->setCacheDirectory();
161 echo '<div style="background-color: '.( is_dir($phpThumb->config_cache_directory) ? 'lime;">exi…
162 echo '<div style="background-color: '.(is_readable($phpThumb->config_cache_directory) ? 'lime;">rea…
163 echo '<div style="background-color: '.(is_writable($phpThumb->config_cache_directory) ? 'lime;">wri…
164 …hars($orig_config_cache_directory).'"<br>Resolved: "'.htmlspecialchars($phpThumb->config_cache_dir…
[all …]
DphpThumb.demo.object.simple.php26 $phpThumb = new phpThumb(); variable
32 $phpThumb->setSourceFilename($_FILES['userfile']['tmp_name']);
33 …nails/'.basename($_FILES['userfile']['name']).'_'.$thumbnail_width.'.'.$phpThumb->config_output_fo…
35 $phpThumb->setSourceData(file_get_contents('..\images\disk.jpg'));
46 $phpThumb->setParameter('w', $thumbnail_width);
51 if ($phpThumb->GenerateThumbnail()) { // this line is VERY important, do not remove it!
52 if ($phpThumb->RenderToFile($output_filename)) {
57 echo 'Failed:<pre>'.implode("\n\n", $phpThumb->debugmessages).'</pre>';
59 $phpThumb->purgeTempFiles();
62 …echo 'Failed:<pre>'.$phpThumb->fatalerror."\n\n".implode("\n\n", $phpThumb->debugmessages).'</pre>…
Dreadme.demos.txt2 // phpThumb() by James Heinrich <info@silisoftware.com> //
4 // and/or https://github.com/JamesHeinrich/phpThumb //
7 // phpThumb() included and related demos //
11 The phpThumb() distribution includes several demos, and it
14 * phpThumb.demo.check.php - configuration checker, will check
18 * phpThumb.demo.demo.php - shows a wide variety of samples,
19 basically all the different features and filters of phpThumb.
23 * phpThumb.demo.gallery.php - basic demonstration of a photo
25 phpThumb.demo.showpic.php for fullsize popup display
27 * phpThumb.demo.showpic.php - auto-resizes a popup window to
[all …]
DphpThumb.demo.demo.php30 $phpThumb = new phpThumb(); variable
34 $phpThumb->setParameter($keyname, $value);
37 $ServerInfo['phpthumb_version'] = $phpThumb->phpthumb_version;
38 $ServerInfo['im_version'] = $phpThumb->ImageMagickVersion();
41 unset($phpThumb);
/plugin/photogallery/
DpgFetch.php158 $phpThumb = new phpThumb();
161 $phpThumb->resetObject();
164 $phpThumb->setSourceFilename($file);
167 $phpThumb->setParameter('config_output_format', 'jpg');
168 $phpThumb->setParameter('config_imagemagick_path', '/usr/local/bin/convert');
169 $phpThumb->setParameter('config_temp_directory', DOKU_INC.'data/cache/');
170 $phpThumb->setParameter('config_prefer_imagemagick', true);
171 $phpThumb->setParameter('config_disable_debug',true);
172 $phpThumb->setParameter('config_cache_directory',null);
173 $phpThumb->setParameter('w', $w);
[all …]
Ddeleted.files8 phpThumb/Version.txt
9 phpThumb/pgFetch.php
10 phpThumb/pgImg.php
11 phpThumb/pgThumb.php
12 phpThumb/phpThumb.config.php
/plugin/photogallery/phpThumb/licenses/
Dlicense.ptcl.txt1 phpThumb() Commercial License
4 phpThumb() is licensed under the "GNU Public License" (GPL) and/or the
5 "phpThumb() Commercial License" (pTCL). This document describes the pTCL.
13 The pTCL grants the licensee the right to use phpThumb() in commercial
14 closed-source projects. Modifications may be made to phpThumb() with no
15 obligation to release the modified source code. phpThumb() (or pieces
19 The licensee may use any version of phpThumb(), past, present or future,
22 made publicly available to all phpThumb() users.
24 The licensee may not sub-license phpThumb() itself, meaning that any
25 commercially released product containing all or parts of phpThumb() must
[all …]
/plugin/photogallery/phpThumb/docs/
Dphpthumb.faq.txt2 // phpThumb() by James Heinrich <info@silisoftware.com> //
4 // and/or https://github.com/JamesHeinrich/phpThumb //
7 // Frequently Asked Questions (FAQ) about phpThumb() //
19 https://github.com/JamesHeinrich/phpThumb
25 Q: phpThumb doesn't work as expected, and it may be a server
34 In general, if you just want to call phpThumb.php in the
35 standard <img src="phpThumb.php?src=pic.jpg&w=100"> manner
39 If you're calling phpThumb() as an object then you will
42 No matter if you use phpThumb() commercially or not, no
62 thumbnail (Photoshop for example) which phpThumb can use as an
[all …]
Dphpthumb.readme.txt2 // phpThumb() by James Heinrich <info@silisoftware.com> //
4 // and/or https://github.com/JamesHeinrich/phpThumb //
10 // phpThumb() is free to use according to the terms of the GPL. //
22 phpThumb() uses the GD library to create thumbnails from images (GIF, PNG
41 Then run /demo/phpThumb.demo.check.php
51 * https://github.com/JamesHeinrich/phpThumb (current development version)
54 own subdirectory (e.g. /phpThumb/ is useful but not required)
55 3) rename phpThumb.config.php.default -> phpThumb.config.php
56 4) edit phpThumb.config.php as needed to suit your server configuration.
63 /phpThumb/demo/phpThumb.demo.check.php in your browser. Settings that are
[all …]
Dphpthumb.changelog.txt2 // phpThumb() by James Heinrich <info@silisoftware.com> //
4 // and/or https://github.com/JamesHeinrich/phpThumb //
87 * Bugfix: incorrect variable name in phpThumb.php could prevent
122 See PasswordStrength() function in phpThumb.php
138 * Bugfix: assorted errors in phpThumb.demo.check.php
145 script via phpThumb object destructor (PHP5 only)
179 * Bugfix: phpThumb could sometimes die without showing an
205 * Bugfix: phpThumb.php would not correctly skip unneeded
208 * Bugfix: phpThumb.demo.check.php incorrectly calculated
220 (see phpThumb.demo.object.php)
[all …]
/plugin/photogallery/phpThumb/images/
Dreadme.txt2 the bottom of the phpThumb demo page on SourceForge:
4 http://phpthumb.sourceforge.net/demo/demo/phpThumb.demo.demo.php
/plugin/photogallery/phpThumb/fonts/
Dreadme.txt5 directory in phpThumb.config.php