Changing thumbnail background Opencart
Post By: guest | 01-11-2013 07:57 Reply
- Code: Select all
$background = imagecolorallocate($this->image, 255, 255, 255);
Is there any way of having two backgrounds one of which displays depending on the category? At the moment I have three categories, one background is black and two are white so it'd be awesome if this thumbnail background could change accordingly; Any ideas?
*disclaimer: I'm a php-idiot so please speak slowly