Closed (fixed)
Project:
ImageField
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2007 at 01:36 UTC
Updated:
10 Sep 2010 at 15:37 UTC
any to force users to upload the EXACT dimensions?
thanks!
/andreas
Comments
Comment #1
dopry commentedswitching to head right now... This would be a cool first expedition into imagefield for an interested developer.
Comment #2
quicksketchSome 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.
Comment #3
eigentor commentedYes 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.
Comment #4
dopry commentedI'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...
Comment #5
jpetso commentedRenaming the issue title so that it actually tells what it's really about.
Comment #6
ceardach commentedMinimum 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.
Comment #7
nchase commentedwould be cool for 5.x-2 as well. I don't need the resizing, that's done by imagecache. Just the minimum size.
Comment #8
drewish commentednew features go into the newest release.
Comment #9
nchase commentedwill there be any backports?
Comment #10
quicksketchThis 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.
Comment #11
quicksketchComment #13
joachim commentedReopening.
Current behaviour is now completely wrong.
It looks like the suggested checkbox "[ x ] Scale oversize images to fit max dimensions" did not make it in.
There is just this:
Setting the same dimension in each textfield ought to mean:
- reject images that are too small
- scale down images that are too large.
Instead, oversize images are rejected.
Comment #14
quicksketchThis issue has been resurrected already in #732908: No resize when using both max & min. Let's continue there.