Imagefield_crop seems to make some excellent functionality available for node editing in the form of a collapsible editing/widget area.
The settings are clearly there (see screenshot 1) but definitely not working (see shot 2)
Inserting the following code to imagefield_crop_widget.inc at line 130 produces the collapsibility of each cropping widget individually:
$element['#type'] = 'fieldset';
$element['#title'] = t('Image');
Even though this is better (?) I suspect the desired functionality would be to collapse the whole field. Would this not require changes to the filefield module?
As a side note I do notice that drupal.org has collapsible file uploads in this entry form but I am not sure if drupal.org is using cck & filefield though.
Without Imagefield_crop, filefield seems to have no collapsible settings or behaviour.
Is this a fixable bug from within this module?
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot2.jpg | 107.15 KB | johnmunro | |
| Screenshot1.jpg | 139.37 KB | johnmunro |
Comments
Comment #1
johnmunro commentedI should clarify that the code above was added to the April 7, 2009 6.x-1.x-dev code.
Comment #2
yhager commentedActually I believe this is some old code left from D5 days. The D6 version is indeed impossible to make collapsible within imagefield_crop.
I removed this from the widget settings page.
Marking this as fixed, although I admit it's a bit twisted to consider this as a fix ;)