Right now it's setting things up using the filefield widget instead of the imagefield widget, and it needs to enable custom ALT and Title text by default. Tim Hill had a patch going here that he may be able to re-roll to kill both of these birds with one stone.

http://www.ubercart.org/issue/8110/ucproductmodule_creating_filefield_in...

CommentFileSizeAuthor
#2 image_field_create_fix.patch550 bytesthill_

Comments

Island Usurper’s picture

Assigned: Unassigned » Island Usurper

Reminder to myself to do this in the morning.

thill_’s picture

StatusFileSize
new550 bytes

Here is the one patch that makes the title and alt tags enabled and corrects the filefield vs imagefield type error, enjoy

Island Usurper’s picture

Status: Needs work » Fixed

Thanks, Tim. That's what it needs.

Status: Fixed » Closed (fixed)

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

Island Usurper’s picture

Status: Closed (fixed) » Fixed

It turns out that the actual field type should be "image", since that's what imagefield.module defines. Ryan had problems with a default value without it.

Somehow, I'd neglected to actually change the field type the first time, anyway. :( So, now it really is fixed.

sgriffin’s picture

Is there a patch released? Can field_image_cache be removed and readded at an image type or changed directly in the db to image in case of existing nodes?

Island Usurper’s picture

I didn't think there was a need for a patch. You can use the one posted earlier, but just change 'imagefield' to 'image'. Or find that line in the module file.

Removing field_image_cache and letting Ubercart rebuild it will work, though it's probably easier to change the "type" column of content_node_field. You also won't lose the file associations that way, either.

sgriffin’s picture

Nevermind, I change content_node_field/field_image_cache type to image, and added the field to another CT to save it "maybe redundant", and removed and readded it back to the ubernode. All looks well and image like now.

Status: Fixed » Closed (fixed)

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