aneuryzm
aneuryzm

Reputation: 64874

Double description for images CCK field

I've noticed the images in the products content type in ubercart shop have 2 description fields: http://dl.dropbox.com/u/72686/doubleDescription.png

I was wondering if I can do this only with programming or there is some module to do it.

Also, it would be nice to have a text area instead of a single line text field for the description.

thanks

Upvotes: 0

Views: 227

Answers (3)

Chris Ridenour
Chris Ridenour

Reputation: 594

If you look under http://yoursite.com/admin/content/node-type/product/fields/field_image_cache you can see that under Title Text Settings and Alt Text Settings they have those enabled. Just do the same on your content type with the Filefield -> Imagefield field type.

Upvotes: 1

avpaderno
avpaderno

Reputation: 29748

The functionality you describe is provided by ImageField, which is one of the modules recommended from Ubercart.

Upvotes: 0

Vinicius Braz Pinto
Vinicius Braz Pinto

Reputation: 8289

Those are not descriptions, those are image attributes that can be enabled during the content type definition.

I wouldn't recomment using long texts in ALT or TITLE, but if you really want to, you can change the field to a textarea implementing hook_form_alter() on that form.

Upvotes: 2

Related Questions