4 replies [Last post]
hamza11's picture
Offline
Joined: 04/11/2010
Juice: 16
Was this information Helpful?

Hi all!
I am new to Drupal and Ubercart. I am developing a website using ubercar. All is going well but the problem is that the product's photos are not displayed at all and rest information is visible.
The photos are being uploaded and thumbnails are being created and those are present in "sites\default\files" I checked the directory. both thumbnail and original photos are there but they are not displayed with product and catelog.
Please help me in this regard.
Thanks in advance.
Installes mudules:
CCK, FILEFIELD, IMAGEAPI, IMAGECASHE, IMAGEFIELD, THICKBOX etc...
GD Library is installed.
Clean URLs is enabled.

manatwo's picture
Offline
Joined: 02/19/2008
Juice: 235
Re: Products' photos are not being displayed with the products.

Check Admin -> Content -> Content Types -> Product -> Display Fields and make sure the "Image" is being shown. Also, go to Ubercart Store Administration and make sure Drupal has been configured by Ubercart for image support.

hamza11's picture
Offline
Joined: 04/11/2010
Juice: 16
Thanks for your kind help. I

Thanks for your kind help.
I followed your commands, and problem solved a bit, but now full image is displayed in catelog view whereas thumbnail should be displayed.

This is worth noting that the thumbnail images are stored in directory "sites/all/defaults/files/imagefield_thumbs" that must be selected from "display fields" but no option is there in the teaser selection list.

Please guide me.
Thanks in advance,

manatwo's picture
Offline
Joined: 02/19/2008
Juice: 235
Re: Thanks for your kind help. I

Go back to Admin -> Content -> Content Types -> Product -> Display Fields. If Imagecache is installed and configured correctly, there will be 2 drop down menus for the "image" field - right now they are probably just set on "Image" but can be changed to show a different sized image. You can experiment with the default ones, or make your own size with Imagecache.

hamza11's picture
Offline
Joined: 04/11/2010
Juice: 16
Re: Re: Thanks for your kind help. I

Thanks brother, I did as you said, I made a new preset and gave it an action for a thumbnail size, but there came an error message,,, "warning: Parameter 1 to imageapi_gd_image_resize() expected to be a reference, value given in C:\wamp\www\Online Store\sites\all\modules\imageapi\imageapi.module on line 165. "
It seems that imageapi is not configured correctly. How to do it?
Thank you very much.