Images not appearing

Posts: 3
Joined: 12/18/2007

I am in the process of trying to get Ubercart up and running. The problem I am having is in the images on a product. I can upload an image, and I can see it when you are editing the product. However, I only get a link to the product on the view page, and the actual image does not appear.

There seems to be a number of issues around images, but hours later, I cannot find a problem which mocks the one that I have. There was a suggestion to disable the product module, and then enable it (which worked for them), but that did not work for me.

Anyone else have an issue around this, or any suggestions what I can do to solve it?

Thank you

Posts: 3
Joined: 12/18/2007

Just a further comment on this. I did look at the source to try to find out where the directory wanted to call the image from. It looks like it is pulling from files/imagecache/product/files/ubercart_images.

If i drop my image into this directory manually, then it shows on the front page with no issues.

Why wouldn't imagecache create this automatically? Is there a permissions, etc that I am missing?

Thanks

Posts: 43
Joined: 12/09/2007
Bug FinderEarly adopter... addicted to alphas.

how I fixed it was added a file in the files folder called ubercart_images and it was fixed.
like this http://www.yoursite.com/files/ubercart_images/
Eric

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

I hope you're not using the Bazaar version, because that means this isn't fixed like I thought it was. I'll check up on that.

There's probably some filesystem permissions surrounding either the temp directory location that's specified in Drupal, or the files/ubercart_images directory. Possibly, the apache user needs write permission in files/ and all of its subdirectories.

Posts: 3
Joined: 12/18/2007

bowwowadmin - I did find a thread on adding this directory, and did that. It is getting my image to the site, but not displaying it on the view.

Lyle - Very new to Ubercart (but getting to be old-hand at Drupal), so please tell me what the Bazaar version is, and how do I know if I am running it? I got the module straight from the Drupal page, and followed the installation instructions. What is the Bazaar version?

Thank you

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

The Bazaar version is the latest dev code in the repository. Bazaar is the version control system that we use instead of CVS to keep us all sane. You can read up on it here.

Posts: 15
Joined: 08/07/2007

I'm having the same issue... I just upgraded to the Bazaar version and it didn't fix it (after flushing/deleting/re-creating the presets).

Jeff

Posts: 91
Joined: 11/06/2007
Bug FinderGetting busy with the Ubercode.

I had an issue with pictures not showing up for products when we 'upgraded' to Ubercart from eCommerce. Not sure if the issue is the same, but the product node's images for eCommerce were pointing to a different directory than Ubercarts so we ran a custom EC to UC module that tied the same imagecache image to the product node. After this the images were still not showing up, but we finally realized the node cache was remembering the old url for the images and not the one designated by Ubercart. So in the database we just deleted all the rows in the cache_content table and this forced the re-caching of the pages.

Posts: 15
Joined: 08/07/2007

Does not appear to be a caching issue (disabled caching, also emptied cache_content and cache_page tables). Here's an example link: http://cobrasound.com/catalog/31/loudspeaker

Jeff

Posts: 91
Joined: 11/06/2007
Bug FinderGetting busy with the Ubercode.

Probably a user permission issue. Check the assigned users for your Imagecache folders. As Lyle mentioned above, you will probably need the imagecache folder and sub folders to have the 'user' assigned as 'apache'.