Drupal 5.10 and Ubercart 1.4:
I have a weird issue where 2 images are showing up on my product page. They are the same identical product image. One is mapped to the /files directory. the other is showing up in /files/imagecache/product.
I'm using the main product content type to create my products. The image field is the default and the field data name is:
field_image_cache
My main Drupal config is putting all files in the /files directory. I had Ubercart set the image configuration automatically but now it appears to be uploading the product image twice per my notes above. One copy goes in the /files, and the other into the /files/imagecache/product. If I check the main Ubercart store administration page, it states that Product image support has been automatically configured by Ubercart.
How can I force Ubercart's/Drupal's Product content type to only upload one copy of the image, and to only one folder on the server?
Additionally, my display fields for the Image field on the Product type are:
Teaser = product as link to node
Full = default
One idea I have is to just delete the default Product type image field since it appears to be using the "field_image_cache"? I could just add another image field and then delete the default one? Would this solve the issue?
Any suggestions would be most helpful!
Thanks.
-backdrifting
Comments
How we solved it
There are two places that specify whether to show the product image or not. One that you mentioned above (display fields for product type) and other the other is at admin/store/settings/products/edit/fields where you can set which fields to show and which to hide.
We just set the image to hidden in display fields for product type and let the Ubercart managed one to show. You can do the same or the opposite (hide the Ubercart managed one and show the CCK field)
abhaga
http://pothi.com
Brilliant!
That works. Thanks. I set the display field options to "hidden" in both my teaser and full, in the Product content type.
Thanks again.
-backdrifting