createThumbnail

Description

Creates a thumbnail for the specified file.

Syntax

void createThumbnail (string $source, int $max_height, int $max_width)



Parameter $source

Expected type: String
Description: The name of the file that this thumbnail is associated with



Parameter $max_height

Expected type: Integer
Description: The maximum height of the thumbnail



Parameter $max_width

Expected type: Integer
Description: The maximum width of the thumbnail


Advertisement: