that missing images thing yet again, from another Ubercart n00b

Posts: 4
Joined: 05/09/2008

OK, been through many pages of posts on this topic and have checked or tried so many things my head is spinning. From everything I've read, I should be seeing images, and I'm still not.

I've got imagecache, imagefield and CCK enabled. The Images button in Status Messages at Administer > Store Administration tells me that product image support has been automatically configured by Ubercart. My files/ and all its subdirectories are mod 777 (and were even before I installed Ubercart, imagefield, imagecache or CCK, as I'm allowing users to post Images in another part of my site). I can upload images for my catalog categories and products and see them in the edit pages. But when I go to look at my catalog and products, I get missing image icons--logical, since the img src paths include 'imagecache/products/files' and the images are in my files directory (I know I've only seen about a dozen complaints about that so far). Within an individual product listing, I can click on the missing image icon and the image comes up, but even after that doesn't display in the listing.

All other image uploads for other parts of my site upload and display fine with the settings in Administer > Site configuration > File system.

A post in another thread mentioned that imagecache, imagefield and CCK should be enabled before enabling Ubercart, and I will admit I missed enabling imagecache first time through. But since, as mentioned in still another thread, Ubercart is not image-dependent, it doesn't seem that adding image support later should be such a big deal--it certainly shouldn't require disabling and reinstalling Ubercart to get my images to show up?

Other than this little irritation, it looks like Ubercart is just what I need.

regards,

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

Have you been able to use imagecache anywhere else on your site? It sounds like imagefield works since the images are put in the right place. Check the Image toolkit settings, since imagecache uses that to modify your pictures and save them to the imagecache folder.

Posts: 4
Joined: 05/09/2008

Alas, I only installed imagecache because it was on the list of suggested modules that went along with Ubercart. My Image Toolkit is GD and is working fine with modifying and displaying images in other content. I just tried adding an image to a new product, and I don't see anything happening in files/imagecache, even checking in realtime at the various stages of navigating to a product listing, when one might suspect an image file would be being manipulated to create thumbnails, previews, etc. and the manipulation software would be storing temporary versions of the images it needs. BTW, I'm using imagecache 1.5 in accordance with another recommendation on one of the other image threads that dev versions and release candidates be avoided.

I guess what I find most puzzling in all of this is that Status Message saying Ubercart has automatically configured product image support. That suggests to me that the various supporting image modules and filesystem have been verified and deemed good, and that when I upload images they'll show up in their appropriate places and sizes in my catalog.

thanks for any and all help!

Posts: 3206
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I know folks have run into server configuration troubles before... I don't suppose you were able to compare your setup w/ the troubles others mentioned with their servers. Puzzled

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

What do the imagecache settings look like? Sometimes duplicate presets can show up and that causes problems. I wish I could figure out when this happens and prevent it.

Have you changed the theme of the product nodes in any way? It might be that the field isn't being displayed, which would keep imagecache from needing to do its magic. Check the Product field settings for the image field, and make sure it's enabled.

Posts: 4
Joined: 05/09/2008

Let's see...
Per http://www.ubercart.org/forum/support/2616/images_not_showing, I've checked the .htaccess file in my files/ directory and copied/pasted a version that fixed the problem for someone else. mod_rewrite is enabled in my Apache httpd.conf, and I even tried restarting the server.

The only presets in Imagecache are cart, category, product, product_list and thumbnail. product and product_list were the same size; I changed the size in product_list just for grins.

Image is checked in the Product field settings, and I haven't done any theming on product nodes. (The theme I'm using is a modification of Framework, but I haven't done anything with that since I started working with Ubercart).

Oh yes, and Clean URLs are configured.

Still nothing but broken image icons.

If there's any other info I can supply to help figure this out (and maybe even help make Ubercart better thereby), I'll be digging around. I do have another server I can test on, so will install on there (even making sure to enable the CCK and image modules before installing Ubercart) and see how that goes.

regards...

Posts: 15
Joined: 04/23/2008

I had this same problem too... I read somewhere in the forum that it could also be caused by a specific version of imagecache/imagefield combination...

Anyway, the way I solved it was to move to ImageCache 5.x-2.0-rc2, ImageField 5.x-2.0-rc8, Image 5.x-1.8, etc.

I also recreated the products in ubercart, as the ones created with the older versions of the modules did not show the images.

Once I did this, it worked...

Posts: 4
Joined: 05/09/2008

Found my problem. It turns out Clean URLs weren't enabled. Had to do some server config tweaks, per http://drupal.org/node/15365, to get Clean URLs happening, but all my images are now showing up where they should.

Thank you all for the feedback, it all helped get me focused in.

regards...