Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:type=\"text/css\"
imageAlphaBlending($Original, false);
imageSaveAlpha($Original, true);
imageAlphaBlending($Thumb, false);
imageSaveAlpha($Thumb, true);#Comments .CommentHeader li div.CommentIcon {
background: transparent center center no-repeat;
Taylan: What line do you put the transparent image code on?
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);
imageAlphaBlending($Thumb, false);
imageSaveAlpha($Thumb, true);
$Thumb = imagecreatetruecolor($ThumbWidth, $ThumbHeight);
imageAlphaBlending($Original, false);
imageSaveAlpha($Original, true);
imageAlphaBlending($Thumb, false);
imageSaveAlpha($Thumb, true);
#Comments .CommentHeader li div.CommentIcon {
background: transparent center center no-repeat;#Comments .CommentHeader li div.CommentIcon {
padding: {IconHeight}px 0px {IconHeight}px {IconWidth}px; }#Comments .CommentHeader li div.CommentIcon {
padding:9px 0px 9px 30px;
margin-right: 6px;
background-repeat:no-repeat;
display: inline;
background: #fff center center no-repeat;
}
if (!@$SaveFunction($Thumb, $OutputImage ))if (!@$SaveFunction($Thumb, $OutputImage, 100))
Notice: Undefined index: ACCOUNTPICTURES_IMAGEMAGICK_PATH in /srv/www/vhosts/multistrefa.info/httpdocs/extensions/AccountPictures/default.php on line 146$Configuration['ACCOUNTPICTURES_IMAGEMAGICK_PATH'] = ''; to your conf/settings.php