Sorry about that - you can make the call right after $Thumb is created through imagecreatetruecolor around line 260:
$Thumb = imagecreatetruecolor($ThumbWidth, $ThumbHeight);
imageAlphaBlending($Original, false);
imageSaveAlpha($Original, true);
i…
I modified this add-on slightly to allow transparency in images. When resized, transparent images were getting a black background.
Here is the code in case anyone is interested:
imageAlphaBlending($Original, false);
imageSaveAlpha($Original, true)…
Sorry about that - you can make the call right after $Thumb is created through imagecreatetruecolor around line 260:
$Thumb = imagecreatetruecolor($ThumbWidth, $ThumbHeight);
imageAlphaBlending($Original, false);
imageSaveAlpha($Original, true);
i…
I modified this add-on slightly to allow transparency in images. When resized, transparent images were getting a black background.
Here is the code in case anyone is interested:
imageAlphaBlending($Original, false);
imageSaveAlpha($Original, true)…