The first thing that struck me with the 6.x version of Imagefield is the four lines of description beneath every upload widget. (see attached image) Without debating if it useful to the user which file size, pixel size and file extensions are allowed, I'd like to have the control if I want to show that information or not.
The description that I add to the field (where I could add the mentioned information if I wanted) is displayed quite a bit below the field and, if I were a user, I would not guess this infomation belongs to the image upload anymore. (attached Screenshot 2)
I know I can hide this description using CSS display:none, but I find this a bit "dirty" and not desirable.
So there are two descriptions in the end : one I can write and the other default one.
Couldn't there be a simple checkbox somewhere in the field settings to disable the default description?
| Comment | File | Size | Author |
|---|---|---|---|
| imagefield-description-2.png | 23.57 KB | eigentor | |
| imagefield-description.png | 22.42 KB | eigentor |
Comments
Comment #1
avpadernoUsing a CSS would be desirable if the description must be hidden / shown by JavaScript; in the case the description is shown basing on server settings, the CSS is also useless.
Comment #2
avpadernoThe fields, and the descriptions should be put in a field set. I am not sure if it is possible to do it, but it should be the perfect solution.
Comment #3
eigentor commentedComment #4
quicksketchThe output of ImageFields has been significantly cleaned up in the beta1 version. Keep in mind that each field needs to be able to be displayed completely independently with features like #119102: Combo field - group different fields into one in the works, so grouping them all together manually isn't a viable option from the side of ImageField (CCK actually handles show the group of fields).
Note to help this a little bit, some lines of description have been removed entirely #316099: Hard-coded file extensions "Must be a JPEG, PNG or GIF image", and instead of showing 2 fields by default, CCK now only shows one field for multivalue fields in the 2.2 version. In addition to these improvements, the upload field is now hidden once a file has been uploaded, reducing the amount of clutter.
So I think what we've done so far is a huge improvement over previous versions. Since I don't know of any way we can implement the feature requested here concerning the descriptions I'm marking this won't fix. If you can provide mockups or a patch that demonstrates a workable solution, I'd be happy to include it. But the limitations of CCK prevent us from tightly grouping these the multi-value fields together in a single fieldset like it was in Drupal 5 (though you can still just make a group yourself using Fieldgroup and give it a description).
Comment #5
eigentor commentedQuicksketch, Kudos for the new filefield/imagefield interface (I am not sure where the changes come from).
With the upload button having been moved to be inline with the input field and only three lines of description now it looks much cleaner and the vertical space one slot takes is greatly reduced.
Overall it makes a clearer and cleaner impression.