Lines Matching refs:phpThumb

2 //   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
71 Call phpThumb() just like you would a normal image (i.e. as the SRC attribute
73 <img src="phpThumb.php?src=/image.jpg&w=100&hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
74 To generate the hash value you must include the phpThumb.config.php file and use the
76 …echo '<img src="'.htmlspecialchars(phpThumbURL('src=/images/pic.jpg&w=50', '/path/to/phpThumb.php'…
78 must generate a complex password value for that setting in phpThumb.config.php
79 (once, when installing phpThumb).
107 phpThumb.php can also be called by passing parameters not
109 phpThumb.php/<params>=<values>;<w>x<h>;<image>
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
116 phpThumb.php/f=jpeg;q=50;100x200;pic.jpg
117 phpThumb.php/fltr[]=usm;100;pic.jpg
126 Calling as an object (not using phpThumb.php):
130 display resized images, please just use phpThumb.php, not the object mode.
132 skip phpThumb.php and instantiate your own object. Please take a look at
133 /demo/phpThumb.demo.object.php for details.
135 Note: phpThumb.php is where the caching code is located, if you instantiate
136 your own phpThumb() object that code is bypassed and it's up to you to
145 Most configuration options can be set when you call phpThumb() - see list below),
147 phpThumb.config.php - this is the only file you should ever modify.
151 The configuration file is distributed as phpThumb.config.php.default to prevent
154 the default to phpThumb.config.php since newer releases may include settings not
160 phpThumb using phpThumbURL() in phpThumb.config.php
171 The amount of memory required for phpThumb depends on several factors:
185 Each call to phpThumb.php needs to be made through the function supplied
186 at the bottom of phpThumb.config.php which create the hash:
187 require_once('phpThumb.config.php');
188 echo '<img src="'.phpThumbURL('src=pic.jpg&w=50', '/path/to/phpThumb.php').'">';
497 phpThumb.php dies and outputs the correct MD5 hash
565 good: phpThumb.php?src=/images/nicepic.jpg
566 bad: phpThumb.php?src=/home/httpd/example/images/nicepic.jpg
567 worse: phpThumb.php?src=http://example.com/images/nicepic.jpg
579 * If you need a GUI interface to phpThumb(), or for a user
588 phpThumb.php?src=pic.jpg&sx=.25&sy=.25&sw=.5&sh=.5
590 * phpThumb() may have tempfile access issues on servers
598 phpThumb() does try and work around this if it is
602 * phpThumb() should work with PHP v4.0.6+, but seems to
609 Run /demo/phpThumb.demo.check.php to examine your server
611 * phpThumb() works better and faster when ImageMagick is
616 * phpThumb() works with GD v1.x, but works better with
627 phpThumb() has a workaround for the above bug but
657 * Original image used in phpThumb logo provided by
663 == phpThumb Commercial License (pTCL) ==