Fix for http://drupal.org/node/437378 . Thanks ansorg!
Now the first image selected as default
Initial commit.