Oops, where's the :slap forehead: smiley? Misread of the image weight mod, didn't notice that where it says,
Code:
find
if (!$image_size[2])
{
eval('$errors[] = "' . fetch_phrase('attachnotimage', PHRASETYPEID_ERROR) . '";');
$preview = 'true';
}
that the "find" isn't code, but an instruction. It's all clear now. Well, just ignore me, unless you're dfaonxa, in which case, hopefully this will help you solve your issue.