having trouble getting product thumbnails to work

Posts: 7
Joined: 07/04/2008

I recently installed a test of Drupal/Ubercart on one of my test servers. I added a test product and uploaded 3 pictures for the product. My problem is that the 3 pictures are displayed in Full Size on every page that the product is listed. How do I enable thumbnails for these product images? I am quite sure that I have all modules that are required installed, but I see no place to enable thumbnails on product pages, cart pages, etc.

It is highly plausible that I am just an idiot and am missing something on a configuration page.

Thanks for any help!!

-sunsu

AttachmentSize
bigpics.JPG122.2 KB
Posts: 7
Joined: 07/04/2008

I suppose that the thumbnails are dependent on the theme one is using. But is that the only dependency? Do you have to go in an explicitly set an image thumbnail size? How do you know what size to set for a theme?

If this is too broad, I sincerely apologize.

-sunsu

Posts: 47
Joined: 01/20/2008
Bug Finder

Thumbnails are controlled by Imagecache (yoursite.com/admin/build/imagecache) and not the theme you are using.

If you see no options on the image cache page, then check that image support has been set up properly by looking at the status message on yousite.com/admin/store.
If you haven't installed image cache yet, be sure to install version 1.6 (and not 2.1). Smiling

Posts: 9
Joined: 11/18/2008

I have Imagecache 2.2 installed and am experiencing the same problem. There was a list of presets though:

Preset Name Acties
cart bewerken    verwijderen    flush
product bewerken    verwijderen    flush
product_list bewerken    verwijderen    flush
uc_category bewerken    verwijderen    flush
uc_thumbnail bewerken    verwijderen    flush

All of which were empty. After trying to install Imagecache 1.7 no pictures were show at all and there were several warnings. After reinstalling 2.2 the (large) product images are back, but the list of presets is gone.

What's the best route to follow to get things working properly?

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

If the product module just won't set this up properly, you can make the presets yourself. Use the exact names as listed here, and give them each a Scale action to start off with. The exact sizes don't really matter as long as you like them. "product" and "product_list" are the same size by default, and uc_thumbnail is typically pretty small, like 50 by 50 pixels.

Posts: 9
Joined: 11/18/2008

Thanks Lyle for your quick response.
Does Imagecache 2.2 work with Übercart now or is it necessary to use 1.7 or even 1.6?

Posts: 9
Joined: 11/18/2008

I removed Imagecache 2.2 and installed 1.7 and for the first time I saw some thumbnails.
But after clicking a thumbnail I got a fatal error:
Fatal error: Call to undefined function imagecache_presets() in /usr/home/-----/modules/thickbox/thickbox.module on line 176
The site is not accesible anymore because of this error. Only when I remove the imagecache folder, I can access the site again.
Ok, uploaded Imagecache again and got things up and running.
When I click a thumbnail now, I enter the product details instead of Thickbox showing the original image.
What can I do?

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

The problem you ran into is related on the Thickbox project page. Thickbox 2.x is only compatible with ImageCache 2.x, so you should be using the latest versions of the 1.x branches for both modules.

Posts: 9
Joined: 11/18/2008

Thanks Ryan, downgraded to Thickbox 1.2 and all is working just fine now! Smiling