fixed two small errors

Adds a missing class from a trailing comment in image.php and removes an unneeded execute flag