[drupal-devel] [task] Maximum picture size help text in profile no longer needed

Dries drupal-devel at drupal.org
Fri Jul 22 08:30:41 UTC 2005


Issue status update for 
http://drupal.org/node/27234
Post a follow up: 
http://drupal.org/project/comments/add/27234

 Project:      Drupal
 Version:      cvs
 Component:    user.module
 Category:     tasks
 Priority:     normal
 Assigned to:  nysus
 Reported by:  nysus
 Updated by:   Dries
 Status:       patch

I didn't even know we could run without an image library installed.  Is
that a valid scenario, or more of a left-over from the Drupal 4.5 era? 
If possible, I'd prefer having one way of doing things, rather than
having a new and old way of doing things.




Dries



Previous comments:
------------------------------------------------------------------------

Fri, 22 Jul 2005 00:51:16 +0000 : nysus

Attachment: http://drupal.org/files/issues/user_22.patch (1.06 KB)

This change removes the maximum dimensions and file size text appears in
the description for uploading user profile images (avatars).  Drupal
appears to handle the resizing of images automatically now so text is
not needed.




------------------------------------------------------------------------

Fri, 22 Jul 2005 00:59:40 +0000 : nysus

Attachment: http://drupal.org/files/issues/user_23.patch (1.06 KB)

Bug in above patch (missing paren) fixed.




------------------------------------------------------------------------

Fri, 22 Jul 2005 01:48:31 +0000 : mathias

The maximum width and height dimensions still apply when there is no
image library installed (see user_validate_picture()). Maybe we could
detect if an image library is present and inform the user their picture
will automatically be resized to dimension x and y, otherwise the text
is displayed as it presently is.







More information about the drupal-devel mailing list