5 replies [Last post]
loocher's picture
Offline
Joined: 02/21/2009
Juice: 211
Was this information Helpful?

Hello

My product nodes are displaying 2 images even though I've only uploaded one. Where is the other one coming from?

I'm using image cache.
Thanks

loocher's picture
Offline
Joined: 02/21/2009
Juice: 211
Re: Repeating images in product nodes

Okay I've figured it out I think.

So if you have imageCache installed you can add 2 kinds of image fields to your product content types: either field_image or field_image_cache.

But only field_image and not field_image_cache is recognised by Ubercart in its list of fields that can be enabled or disabled under
Home › Administer › Store administration › Configuration › Product settings > Product Fields

So if you enable "Image" in that list and you are using field_image_cache in the content type, you end up with 2 images displaying on your product node.

I have a feeling I must be missing something here - some way of letting Ubercart know that the "Image" field = field_image_cache??

Can anyone advise?

Thanks

http://www.ubercart.org/forum/support/6789/product_imageimagecache_issue

manatwo's picture
Offline
Joined: 02/19/2008
Juice: 235
Re: Re: Repeating images in product nodes

Are you using a custom product-node file?

loocher's picture
Offline
Joined: 02/21/2009
Juice: 211
Re: Re: Re: Repeating images in product nodes

Do you mean my own Content Type? Yes, I created two new Content Types, one for each class of product so I could give them separate attributes.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Re: Re: Re: Repeating images in product nodes

It sounds to me like you have to change one of the fields to not display in a Full Node view. Check your settings at /admin/content/types/YOUR_PRODUCT_TYPE/fields - under the "Display Fields" tab you can see how these can be set.

--
Help directly fund development: Donate via PayPal!

loocher's picture
Offline
Joined: 02/21/2009
Juice: 211
Re: Re: Re: Re: Re: Repeating images in product nodes