Force an exact dimension with minimum and maximum image size
koalition - February 16, 2007 - 01:36
| Project: | ImageField |
| Version: | 6.x-3.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
any to force users to upload the EXACT dimensions?
thanks!
/andreas

#1
switching to head right now... This would be a cool first expedition into imagefield for an interested developer.
#2
Some more thoughts on image size. I've been thinking about this feature also. On the field setting form add these options instead of the current image size field:
Image minimum dimensions:
[ 1024 x 768 ]
Image maximum dimensions:
[ 1600 x 1400 ]
[ x ] Scale oversize images to fit max dimensions
This would allow images to be "exactly" the size by setting minimum and max to the same, and unchecking the scale box. It would also clear up several other requests.
#3
Yes I would appreciate this feature very much, too. The way quicksketch described it would do. Sorry for opening another issue for the same thing.
So I could give users the rights to upload an image and make sure its size fits into the layout. The user would not be bothered of learning how to scale images, if he does not know how to do it.
#4
I'd almost like to see the min and max dimensions w/
radios
1. scale to constraints (scale image up/down depending)
2. center to constraints (centered zoom crop / add border)
so you can maintain a min and max size & aspect ratios for a site myself...
#5
Renaming the issue title so that it actually tells what it's really about.
#6
Minimum image size requirements would be highly helpful - I have a client who keeps uploading thumbnail size images. I would like to be able to set either a minimum height or width, or both.
#7
would be cool for 5.x-2 as well. I don't need the resizing, that's done by imagecache. Just the minimum size.
#8
new features go into the newest release.
#9
will there be any backports?
#10
This is already implemented in the Drupal 6 version. No, it will not be backported to Drupal 5. The Drupal 5 and Drupal 6 versions of ImageField are completely different and "backporting" means rewriting entirely. No new features are being added to Drupal 5, just bug fixes.
#11
#12
Automatically closed -- issue fixed for 2 weeks with no activity.