Function createThumbnail
Create a thumbnail of the given source.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Uses:
function to achieve the resize.
Located at Sources/Subs-Graphics.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Uses:
resizeImageFile()
function to achieve the resize.
Located at Sources/Subs-Graphics.php
string |
$source |
The name of the source image |
integer |
$max_width |
The maximum allowed width |
integer |
$max_height |
The maximum allowed height |
boolean
|
Whether the thumbnail creation was successful. |