Would it be possible to substitute the collapsible form item used for submitting images into a more "classic" field?

IMO a normal field is more friendly and would integrate better with all other fields into submission forms (or well, maybe is just me...!)

Comments

Cainan’s picture

Its simple to do, if a lil kludge-ish

create a file called zzzz.module (you have to do this as modules are loaded in alphanumerical order.)

in the file, add the following:

<?php
function zzzz_form_alter($form_id, &$form) {

  $form['attachments']['#collapsible'] = FALSE;
  $form['attachments']['#collapsed'] = FALSE;

}

This should fix it as you wish.

Cainan’s picture

mind you that is the bare minimal needed. you should research the Form API to see how to do it better.

dopry’s picture

The fieldset/collapsible fieldset is there to support fields with multiple image support. Feel free to override the theming function, or use form_alter to change the form appearance. If you have alternative UI suggestions feel free to post them as a patch, and people can give their opinions. I'll close the issue in a week if a patch for an alternate ui isn't provided.

marcoBauli’s picture

no coder here, so no patch coming soon.

Still thank you coz now i got what to change in the code to do the trick ;)

cheers

dopry’s picture

Status: Active » Closed (won't fix)