Lines Matching refs:to

19 …die('failed to include_once(phpthumb.functions.php) - realpath="'.realpath( __DIR__ .'/phpthumb.fu…
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…
33 // but has been known to be broken on some servers. This value allows you to override the default v…
43 …led. If set to false (debug messages enabled) then debug mode will be FORCED -- ONLY debug output …
44to hacking attempts, both on your server and via your server to other servers. When enabled, requi…
45 … password generator like http://silisoftware.com/tools/password-random.php to generate a strong pa…
47 …ld almost always be left as '&'. Must be a single character. Do not change to '&' -- htmlspeci…
48 …if false (default) only allow src within document_root; if true, allow src to be anywhere in files…
49 $PHPTHUMB_CONFIG['allow_src_above_phpthumb'] = true; // if true (default), allow src to be an…
51 …llowed_dirs'] = array(); // array of additional directories to allow source images to be read …
55 // Note: this directory must be writable (usually chmod 777 is neccesary) for caching to work.
57 … // set the cache directory relative to the phpThumb() insta…
58 …IRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR; // set the cache directory to an absolute director…
59 … // set the cache directory relative to the source image - must start with '.' (will not…
62 … // set the cache directory to an absolute director…
66 …lse, an error image will be generated warning to either set the cache directory or disable the war…
67to an exponentially larger number of subdirectories which will also affect disk space due to (typi…
73 …essed in more than [30 days] (value is maximum time since last access in seconds to avoid deletion)
79 …ils when more than [200] cached files are present (value is maximum number of cached files to keep)
83 … // if true, source images obtained via HTTP are cached to $PHPTHUMB_CONFIG['ca…
88 …ource image is changed or removed. WARNING: cached performance MUCH slower if this is set to false.
95 // The '*' character MUST be used to represent the source image name
101 … // allow phpThumb to share 1 set of cache…
103 …ce_passthru'] = true; // if true, cached image data will always be passed to browser; if false, H…
108 // phpThumb() may need to create temp files. Usually the system temp dir is writable and can be use…
109 // Leave this value as NULL in most cases. If you get errors about "failed to open <filename> for w…
110 // you should change this to a full pathname to a directory you do have write access to.
111 //$PHPTHUMB_CONFIG['temp_directory'] = null; // attempt to auto-detect
112 //$PHPTHUMB_CONFIG['temp_directory'] = '/tmp/persistent/phpthumb/cache/'; // set to absolute path
113 $PHPTHUMB_CONFIG['temp_directory'] = $PHPTHUMB_CONFIG['cache_directory']; // set to same as cache …
117 $PHPTHUMB_CONFIG['prefer_imagemagick'] = true; // If true, use ImageMagick to resize thumbn…
123 …// *nix: set absolute pathname to "convert", or leave as null if "convert" is in the path (locatio…
130 // maximum number of pixels in source image to attempt to process entire image in GD mode.
132 // If this is nonzero then this is the maximum number of pixels the source image can have to be pro…
133 … used (if available) or an "image too large" notice will be displayed. This is to be used for large
159 $PHPTHUMB_CONFIG['error_message_image_default'] = ''; // Set this to the name of a generic er…
162 …size'] = 1; // size of text in error messages, from 1 (smallest) to 5 (largest)
169 … // This is the list of domains for which thumbnails are allowed to be created. Note: do…
174 … // If false will allow thumbnails to be linked to from any doma…
175 … // This is the list of domains for which thumbnails are allowed to be created. The defa…
176 … // If false will allow standalone calls to phpThumb(). If true …
178 …] = '/demo/images/watermark.png'; // webroot-relative image to overlay on hotlinked…
192 // You may want to pull data from a database rather than a physical file
193 // If so, modify the $PHPTHUMB_CONFIG['mysql_query'] line to suit your database structure
215 …RVER[PATH_INFO] is not parsed. May be needed on some server configurations to allow normal behavio…
217 …esize() can be passed through; if false, only images that can be converted to GD by ImageCreateFro…
218 …otherwise realpath() will return FALSE". Set config_disable_realpath=false to enable alternate fil…
223 …ct'] = true; // if true (default), follow "302 Found" redirects to new URL; if false, r…
227 …" instead of just "/path/image.ext"; if false then display warning message to encourage more effic…
228 …false; // If true, and EXIF thumbnail is available, and is larger or equal to output image dimensi…
251 // Function for generating hashed calls to phpThumb if 'high_security_enabled'