Closed (duplicate)
Project:
ImageField
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2007 at 10:59 UTC
Updated:
12 May 2008 at 19:18 UTC
A project of mine needed imagefield to demand a certain resolution in one area, so I dropped in some code that does the job.
I thought others might also find this option useful, so here's a patch that adds this functionality.
| Comment | File | Size | Author |
|---|---|---|---|
| restrict_resolution.patch | 2.41 KB | meatbites |
Comments
Comment #1
robloachI'd strongly suggest taking a look at ImageCache. Although it doesn't restrict images to be uploaded greater than a certain size, it will resize them to any size you want.
Comment #2
quicksketchIf you can implement this feature as discussed in http://drupal.org/node/119585, I'd love to commit it.
Comment #3
meatbites commentedThanks, Rob, it's a good suggestion. I did have a look at Image Cache, however it's just overkill for what I need.
Sounds like a great idea, Nathan. When I get the time, I'd love to code it up -- but no immediate promises, as I'm currently heavily bogged down.
Comment #4
dopry commentedA meat bites if you get around to it, it would be an awesome feature, but post the patches in http://drupal.org/node/119585 as this is a duplicate.