Image_fupload should allow users to create nodes without images, consistent with behavior of other CCK fields that are configured to be optional. If admin configures a content type so that images are optional, and the user does not attach images to the node, then I assume that the user meant for this. This behavior would allow admins to use image_fupload in a broader variety of situations.

Image_fupload should also display all CCK fields when images are attached to the node. If a user enters both body, image, and other CCK field content, then I assume that they meant to do so, and Drupal should display all of this content. See http://www.catlin.edu/page/1818 (not a Drupal site) for a simple example of including both body and image gallery content. This would make image_fupload consistent with the behavior of filefield, which displays file attachments in addition to other CCK field node content.

Thank you for your work on this fine module and your consideration of these requests.

Richard

Comments

grandcat’s picture

Have a look at alpha 3 version. It now supports to create nodes without any images (only for multiple images yet). Supporting this for single storage mode makes no sense for me.

Image_fupload should also display all CCK fields when images are attached to the node.

This should already work since 3.0 release. But notice, if you select some fields for preview page, they won't show up on node creation page.

grandcat’s picture

Status: Active » Fixed

Partially fixed in CVS Head. Should work for multiple storage mode.
Will be published tomorrow in dev version.

kassissieh’s picture

I tried the new dev version today and still get the same behavior. I have a custom content type with imagefield + fupload widget. Whether I attach images or not, the body content does not show up. Node view only shows the node title, tabs, date, time, posted by and links.

grandcat’s picture

Was this the question?
Body field will be unpublished if you selected it for preview list.

kassissieh’s picture

What do you mean by "selected it for preview list?" I go to the add node form for my content type, type content into the Title, type content into the Body, select images for upload, hit save to upload them, and then view the node. I didn't select the body content or hit preview at any time.

grandcat’s picture

So, where's the problem? More explicit, please. Screenshots ...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ManyNancy’s picture

Status: Closed (fixed) » Active

Hi, I don't think the OP expressed the idea clearly. I think he's asking for the ability to have imagefupload be optional.

In some usecases, you don't want an individual image content type, but you have a content type that you want to support images.

In this case, imagefupload should be optional. That is, it should look exactly like a regular imagefield until a button for 'mass upload' is clicked, in which case the imagefupload widget should replace the imagefield widget.

Thanks.