6 replies [Last post]
perfectmatch's picture
Offline
Joined: 05/30/2008
Juice: 79
Was this information Helpful?

Hi,

Have 2 sites i am battling with at the moment. Boths are D6.9+ & Ubercart 2 setups. I have just upgraded my server to PHP5.2.9 so that technically, filefield and image API works ....

I have also enabled CCK, CCK imagefield, imagecache and then used the auto setup in store configuration for allowing thumbnail images. I have also cleared cache with the devel module and flushed the imagcache for all options.

Now when i try to add or amend a product, i can see the image upload box with alt text and title fields, upload button etc but when i add an image, no image actually appears in the box.

On the catalog page, the relevant thumbnail goes from a'n/a' to just a blank space.

As always, i am sure that it is a simple setting that i haven't done but can anyone point me in the right direction?

The last thing i want to do is have to reinstall the modules/ start again as i have uploaded around 300 products already across the 2 sites while i was waiting for my sys admin to upgrade the PHP ..... Sad

HELP!

inkstain's picture
Offline
Joined: 03/03/2009
Juice: 19
Re: Thumbnail image not appearing in catalog

Have you checked you admin/settings/file-system settings?

Top input says "files" and the bottom input says "/tmp"?

perfectmatch's picture
Offline
Joined: 05/30/2008
Juice: 79
Re: Re: Thumbnail image not appearing in catalog

yes .... they are correct and the file permissions are valid

however, i have just emptied the cache again and tried to upload another image ..... i get the same results .... the image is int the sites/defaults/files folder but blank on the catalog thumbnail.

i also now get the following error message:

warning: Invalid argument supplied for foreach() /public_html/modules/filefield/filefield_field.inc on line 127.

perfectmatch's picture
Offline
Joined: 05/30/2008
Juice: 79
An update ..... I have

An update .....

I have managed to attach an image via imagecache to a product. What is interesting is that the image size has to be 35x35 or smaller to show up on the product edit page or ikt doesn't show.

The image still does not appear visible in the catalog thumbnail although i can see the image ref when i check the page with firebug and i can see the image sitting in the /sites/default/files folder.

I still can't get my head round why the image isn't visible......

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: An update ..... I have

Did you activate the ImageAPI GD or ImageMagick modules? It sounds like Imagecache doesn't have anything to modify your images with. GD is usually bundled with PHP, so that one is more likely to work. Make sure the Image toolkit settings are set afterwards as well.

NZDamo's picture
Offline
Joined: 03/10/2009
Juice: 2
Re: An update ..... I have

I'm having the same problem as you, with same drupal and ubercart versions. Looking through all relevant posts haven't found a solution as of yet. Please post if you resolve the problem.

Cheers

perfectmatch's picture
Offline
Joined: 05/30/2008
Juice: 79
Hi Ryan, As always you hit

Hi Ryan,

As always you hit the nail on the head! The image toolkits don't come preloaded on a PHP upgrade. Everything works just fine now, just some tweaks .... www.gbicoutlet.se