User: drewish Branch: HEAD Date: Fri, 06 Jul 2007 15:19:32 +0000 Modified files: /modules/image/contrib/image_import image_import.module /modules/image image.module Log message: #156127 Fixes for bugs in the 5.x-1.3 release: - Original images imported via image_import.module weren't resized. - Erroneous "You must upload an image." Error. Other changes: - _image_required_sizes() has become _image_is_required_size(). - _image_get_sizes() now accepts an aspect ratio parameter to compute the remaining dimension for sizes where only one dimension specified. - Added image_create_node_from() to allow other modules to easily create image nodes from a file. - Other small whitespace cleanups, improved variable names and comments. A big thanks goes out to VDG, Urfin Juss, kelev for testing the patch. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/image/contrib/imag... http://cvs.drupal.org/diff.php?path=contributions/modules/image/image.module...