Changing thumbnail background Opencart

Please LogIn to Reply!

Post By: guest | 01-11-2013 07:57 Reply

Question

So I found out that I can change the thumbnail background by editing "system/library/image.php" at line 75:

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

Cheers.

Reply Or Comment!
Please LogIn to Reply!