Post Gif with transparent background
When you post a gif with transparent background, there is a screen that appears behind in the preview, I do not think it was so in previous versions though?
Attachments
-
-
·
Alex T⚜️
- ·
It happens on some old PHP versions where old PHP GD library is used. It looks like a bug in PHP GD library which cause this problem with transparent GIF and maybe PNG images too.
We've fixed this problem by making white background by default, as the result transparency isn't saved during resizing:
-
·
Alex T⚜️
-
- · Baloo
-
·
In reply to Alex T⚜️
- ·
Hello Alex, I still have this problem in Rc4 ...
-
-
·
Alex T⚜️
- ·
Please try to modify the following code in inc/classes/BxDolImageResize.php file near ~32 line:
protected $_bRemoveTransparency = true; ///< remove transparency from images during resizing
-
·
Alex T⚜️
-
- · Baloo
-
·
In reply to Alex T⚜️
- ·
Thanks Alex, it's perfect like that.