Méthode |
Description |
|
_cached_exists ( ) : boolean |
Checks if a physical version of the cached image exists |
|
_cached_required ( ) : boolean |
Checks that the param dimensions are are lower then current image dimensions |
|
_create_cache_dir ( ) |
Try to create the config cache dir if required
Set $cache_dir |
|
_create_cached ( ) |
Creates a cached cropped/resized version of the file |
|
_create_headers ( $file_data ) |
Create the image HTTP headers |
|
_create_mimic_cache_dir ( ) |
Try to create the mimic cache dir from the source path if required
Set $cache_dir |
|
_encoded_filename ( ) : string |
Returns a hash of the filepath and params plus last modified of source to be used as a unique filename |
|
_modified_headers ( $last_modified ) |
Rerurns 304 Not Modified HTTP headers if required and exits |
|
_output_file ( $file_data ) |
Outputs the cached image file and exits |
|
_serve_file ( ) |
Decide which filesource we are using and serve |
|
_set_params ( ) |
Sets the operations params from the url |
|