Wait a minute. I've just noticed that changing those lines ^^^ breaks the addon when viewing the site.
If I change the lines back again, the colours work... but the admin part of my site throws up a whole bunch of errors...!
Code:
Warning: getimagesize(images/20070526002326_1576_deep_blue_20070412.jpg): failed to open stream: No such file or directory in /addons/admin_harmonious.php on line 185
Warning: imagecreatetruecolor(): Invalid image dimensions in /addons/admin_harmonious.php on line 196
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /addons/admin_harmonious.php on line 203
Warning: imagesx(): supplied argument is not a valid Image resource in /addons/admin_harmonious.php on line 205
Warning: imagesy(): supplied argument is not a valid Image resource in /addons/admin_harmonious.php on line 206
Warning: array_count_values(): The argument should be an array in /addons/admin_harmonious.php on line 218
Warning: natsort(): The argument should be an array in /addons/admin_harmonious.php on line 219
Warning: array_reverse(): The argument should be an array in /addons/admin_harmonious.php on line 220
Warning: array_keys(): The first argument should be an array in /addons/admin_harmonious.php on line 245
Warning: fopen(cache/15fdbaa26b4821a84c2de120ac7d64a4): failed to open stream: No such file or directory in /addons/admin_harmonious.php on line 277
Warning: fwrite(): supplied argument is not a valid stream resource in /addons/admin_harmonious.php on line 278
Warning: fclose(): supplied argument is not a valid stream resource in /addons/admin_harmonious.php on line 279
I guess it's better that way (so people actually see the coloured backgrounds), but any suggestions on how to get rid of the errors in the admin panel?!
D.