TimberPhoton
TimberPhoton copied to clipboard
Letterbox gets black background instead of set "white"
Hi,
I am now using Photon and your plugin again, but bumped into a minor issue although with significant impact on my sites.
I use Timber's letterbox
extensively on my stores and it usually as a configured back color of white. With TimberPhoton enabled I still the the same crop but the fill color is black instead. Anything I can do about this?
Thanks.
I also have the same problem, I need it to be white but I always get black. @lmartins did you have any luck with this?
I just noticed that Photon's letterbox has as secret third argument to set the color.
Can you try if this helps:
In TimberPhoton.php
, line 59 change this:
$args = array(
'lb' => $w.','.$h
);
to
$args = array(
'lb' => $w.','.$h.', #ffffff'
);