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
Description

any to force users to upload the EXACT dimensions?

thanks!
/andreas

#1

dopry - February 23, 2007 - 08:07
Version:5.x-1.x-dev» 6.x-3.x-dev

switching to head right now... This would be a cool first expedition into imagefield for an interested developer.

#2

quicksketch - February 23, 2007 - 16:27

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

eigentor - April 2, 2007 - 20:37

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

dopry - April 22, 2007 - 09:01

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

jpetso - February 26, 2008 - 19:17
Title:image size» Force minimum and maximum image size

Renaming the issue title so that it actually tells what it's really about.

#6

ceardach - March 16, 2008 - 03:14

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

snicers - January 8, 2009 - 22:04
Version:6.x-3.x-dev» 5.x-2.x-dev

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

drewish - January 8, 2009 - 22:10
Version:5.x-2.x-dev» 6.x-3.x-dev

new features go into the newest release.

#9

snicers - January 22, 2009 - 21:03

will there be any backports?

#10

quicksketch - March 12, 2009 - 19:51
Status:active» fixed

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

quicksketch - March 15, 2009 - 10:05
Title:Force minimum and maximum image size» Force an exact dimension with minimum and maximum image size

#12

System Message - March 29, 2009 - 10:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.