Skip to content

Commit

Permalink
Allow http url for phpthumb...needed for avatar display
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Jul 25, 2011
1 parent 47c83a5 commit bccea84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/phpThumb/phpThumb.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@

// * Speed optimizations configuration
$PHPTHUMB_CONFIG['use_exif_thumbnail_for_speed'] = false; // If true, and EXIF thumbnail is available, and is larger or equal to output image dimensions, use EXIF thumbnail rather than actual source image for generating thumbnail. Benefit is only speed, avoiding resizing large image.
$PHPTHUMB_CONFIG['allow_local_http_src'] = false; // If true, 'src' parameter can be "http://<thishostname>/path/image.ext" instead of just "/path/image.ext"; if false then display warning message to encourage more efficient local-filename calling.
$PHPTHUMB_CONFIG['allow_local_http_src'] = true; // If true, 'src' parameter can be "http://<thishostname>/path/image.ext" instead of just "/path/image.ext"; if false then display warning message to encourage more efficient local-filename calling.

// END USER CONFIGURATION SECTION

Expand Down

0 comments on commit bccea84

Please sign in to comment.