/plugin/photogallery/phpThumb/ |
H A D | phpThumb.php | 39 global $phpThumb; 54 global $phpThumb; 126 $phpThumb = new phpThumb(); variable 290 $phpThumb->ErrorImage($phpThumb->config_nohotlink_text_message); 306 …mysqli = new mysqli($phpThumb->config_mysql_hostname, $phpThumb->config_mysql_username, $phpThumb-… 606 if (($phpThumb->w <= 0) || ($phpThumb->h <= 0)) { 614 …if ($phpThumb->gdimg_source = phpthumb_functions::ImageCreateFunction($phpThumb->w, $phpThumb->h))… 622 …imagefilledrectangle($phpThumb->gdimg_source, 0, 0, $phpThumb->w, $phpThumb->h, $new_background_co… 624 $phpThumb->ErrorImage('failed to create "new" image ('.$phpThumb->w.'x'.$phpThumb->h.')'); 646 $phpThumb->setSourceData($rawImageData, urlencode($phpThumb->src)); [all …]
|
H A D | license.txt | 2 // 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.
|
H A D | README.md | 1 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…
|
H A D | phpThumb.config.php.default | 3 // phpThumb() by James Heinrich <info@silisoftware.com> // 5 // and/or https://github.com/JamesHeinrich/phpThumb // 10 // THIS CONFIG FILE ONLY APPLIES TO phpThumb.php // 69 // * Cache culling: phpThumb can automatically limit the contents of the cache directory 94 // parameters (set at the bottom of phpThumb.config.php) are used for processing. 96 $PHPTHUMB_CONFIG['cache_default_only_suffix'] = ''; // cached in normal phpThumb manner 108 // phpThumb() may need to create temp files. Usually the system temp dir is writable and can be use… 251 // Function for generating hashed calls to phpThumb if 'high_security_enabled' 253 // require_once('phpThumb/phpThumb.config.php'); 254 // echo '<img src="'.htmlspecialchars(phpThumbURL('src=/images/pic.jpg&w=50', '/phpThumb/phpThumb… [all …]
|
H A D | phpthumb.class.php | 274 $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/ |
H A D | phpThumb.demo.object.php | 25 $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'); 61 $output_size_x = imagesx($phpThumb->gdimg_output); 62 $output_size_y = imagesy($phpThumb->gdimg_output); 64 if ($capture_raw_data && $phpThumb->RenderOutput()) { 67 } elseif ($phpThumb->RenderToFile($output_filename)) { 74 $phpThumb->purgeTempFiles(); [all …]
|
H A D | phpThumb.demo.object.simple.php | 26 $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>…
|
H A D | phpThumb.demo.check.php | 30 $phpThumb = new phpThumb(); variable 33 $phpThumb->setParameter('config_'.$key, $value); 41 $ServerInfo['im_version'] = $phpThumb->ImageMagickVersion(); 123 echo ';">'.$phpThumb->phpthumb_version; 160 $phpThumb->setCacheDirectory(); 169 $phpThumb->SetCacheFilename(); 174 if ($fp = @fopen($phpThumb->cache_filename, 'wb')) { 180 @chmod($phpThumb->cache_filename, 0644); 185 if (@unlink($phpThumb->cache_filename)) { 190 $phpThumb->CleanUpCacheDirectory(); [all …]
|
H A D | readme.demos.txt | 2 // phpThumb() by James Heinrich <info@silisoftware.com> // 4 // and/or https://github.com/JamesHeinrich/phpThumb // 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, 23 * phpThumb.demo.gallery.php - basic demonstration of a photo 25 phpThumb.demo.showpic.php for fullsize popup display 30 * phpThumb.demo.object.php - example of how to call phpThumb 33 * phpThumb.demo.object.simple.php - simplified version of 34 phpThumb.demo.object.php with fewer options shown. [all …]
|
H A D | phpThumb.demo.demo.php | 30 $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/ |
H A D | pgFetch.php | 158 $phpThumb = new phpThumb(); 161 $phpThumb->resetObject(); 164 $phpThumb->setSourceFilename($file); 167 $phpThumb->setParameter('config_output_format', 'jpg'); 171 $phpThumb->setParameter('config_disable_debug',true); 173 $phpThumb->setParameter('w', $w); 174 $phpThumb->setParameter('h', $h); 177 $phpThumb->setParameter($options[1], $options[2]); 185 if ($phpThumb->RenderToFile($output_filename)) { 193 $phpThumb->purgeTempFiles(); [all …]
|
H A D | deleted.files | 8 phpThumb/Version.txt 9 phpThumb/pgFetch.php 10 phpThumb/pgImg.php 11 phpThumb/pgThumb.php 12 phpThumb/phpThumb.config.php
|
/plugin/photogallery/phpThumb/licenses/ |
H A D | license.ptcl.txt | 1 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 26 have added functionality beyond what is available in phpThumb(); [all …]
|
/plugin/photogallery/phpThumb/docs/ |
H A D | phpthumb.faq.txt | 2 // phpThumb() by James Heinrich <info@silisoftware.com> // 19 https://github.com/JamesHeinrich/phpThumb 88 See /demo/phpThumb.demo.object.php for an example. 93 A: This is not phpThumb's fault, it is an IE issue: 122 Q: Should I use phpThumb.php, or use phpThumb() as an object? 132 phpThumb.config.php has NO effect. So, to repeat: 184 and does not work in phpThumb v1.7.5 and newer. 191 (in phpThumb.config.php) like this: 202 phpThumb.config.php You'll want to set 218 phpThumb.php or your own instantiation of a phpThumb() object. [all …]
|
H A D | phpthumb.readme.txt | 41 Then run /demo/phpThumb.demo.check.php 55 3) rename phpThumb.config.php.default -> phpThumb.config.php 63 /phpThumb/demo/phpThumb.demo.check.php in your browser. Settings that are 79 (once, when installing phpThumb). 111 phpThumb.php/100;pic.jpg 112 phpThumb.php/100;images/pic.jpg 113 phpThumb.php/100;/images/pic.jpg 114 phpThumb.php/100x200;pic.jpg 115 phpThumb.php/x200;pic.jpg 117 phpThumb.php/fltr[]=usm;100;pic.jpg [all …]
|
H A D | phpthumb.changelog.txt | 220 (see phpThumb.demo.object.php) 710 display it to phpThumb.php 724 to phpThumb.config.php 745 been removed from phpThumb.config.php 784 phpThumb.config.php 831 * Added /demo/phpThumb.demo.object.php 858 ¤ phpThumb.config.php is renamed to 862 phpThumb.config.php 953 database in phpThumb.php 1111 in the phpThumb() distribution [all …]
|
/plugin/photogallery/phpThumb/images/ |
H A D | readme.txt | 2 the bottom of the phpThumb demo page on SourceForge: 4 http://phpthumb.sourceforge.net/demo/demo/phpThumb.demo.demo.php
|
/plugin/photogallery/phpThumb/fonts/ |
H A D | readme.txt | 5 directory in phpThumb.config.php
|