Closed (fixed)
Project:
Image
Version:
6.x-1.0-alpha4
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2009 at 23:01 UTC
Updated:
21 Mar 2009 at 01:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
dman commentedReally?
Are you sure you wouldn't be better off looking into imagecache.module for specifically-built derivatives instead?
Comment #2
greenbeans commentedI didn't realize that could do that. I'll take a look. Thank you.
Comment #3
greenbeans commentedOK, my concern with imagecache / imagefield is that I don't see any way to use it to permit users to add images within a WYSIWYG editor, as opposed to as CCK fields (and I need both). Am I missing something?
Comment #4
zoo33 commentedThe number of sizes is hard coded into the module (image.admin.inc):
for ($i = count($sizes); $i < 6; $i++) {Seems to me you should be able to change the number 6 to anything you want without a problem, even though it's not so pretty. Does that fix your problem?
Comment #5
greenbeans commentedYup, that'll work - thank you. Might be a pain to maintain in the long run. If I get time to turn that into a setting, is it something that might be welcome as a contribution?
Comment #6
dman commentedNot as a setting. Modify the form to auto-add a blank row when all previous slots are full.
Comment #7
sunPlease submit a proper patch. See http://drupal.org/patch for details.
High chances to be committed.
Comment #8
greenbeans commentedOK, will do if I get a chance. Might be a while, though.
Comment #9
Robbie Sternenberg commentedHere is my patch. It adds 3 blank size slots to the form, no matter how many sizes are already defined.
Comment #10
Robbie Sternenberg commentedComment #11
Robbie Sternenberg commentedAnd here's the patch for the 5.x-2.0-alpha3 release.
Comment #12
sunThanks, committed to both branches.