12 replies [Last post]
jetskier79's picture
Offline
Joined: 08/15/2007
Juice: 14
Was this information Helpful?

I'm not sure if this is possible, and with the forum a bit crippled, I couldn't search much.....but I'd really like to be able to provide multiple pictures for each product. Does this functionality exist now?? A module, built-in?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Multiple Pictures Per Product

Übercart uses the CCK Image field to provide pictures, and it is capable of holding multiple images in each field. If you want to change the way the pictures are displayed, you'll have to use Contemplate or something similar to change the theme of the node.

jetskier79's picture
Offline
Joined: 08/15/2007
Juice: 14
Re: Re: Multiple Pictures Per Product

Thanks, I'm still pretty new to Drupal as a whole (started using drupal because of ubercart) so I didn't realize I could add multiples.

Now this may seem strange, but I've found that if I used the upload button to add a picture, it does not show up. But if I used the submit button at the bottom of the page, all is well. Any idea what causes this? Is it a bug, or something I'm doing wrong?

It would be nice if I could browse, upload, browse, upload for all the pictures I need. Hitting submit each time takes excessive time.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Multiple Pictures Per Product

I have found that I can click "Browse" and "Upload" for each picture I want to attach to a product, and they are listed in the form. However, it's not until I click "Submit" when I am done do they get saved to the node.

jetskier79's picture
Offline
Joined: 08/15/2007
Juice: 14
Re: Re: Re: Re: Multiple Pictures Per Product

I think I've figured out what was going on here. I believe the imagecache presets are created after hitting "Submit"? I think I was editing old items, and closing after upload? I'm not sure I need to look into the issue a little further to get a better idea of what's happening. Just been a little busy.

jugney's picture
Offline
Joined: 06/03/2008
Juice: 202
Re: Multiple Pictures Per Product

Hi, I'm having the same problem, where I enter a photo for a product and it doesn't show up (even after hitting submit button). How did you resolve this?

kimalders's picture
Offline
Joined: 05/18/2009
Juice: 7
Re: Multiple Pictures Per Product

Occured in my website too, but solved it by adding the 'tmp' folder to acessible paths of the hosting server (Well, i did not, but 'they' did)

ñull@drupal.org's picture
Offline
Joined: 01/26/2009
Juice: 114
write enabled imagecache folders and files

I had some issues when I moved my site from one server to another. This often messes up the permissions on a Linux server. The image cache folders and files should be write enabled for the webserver and when you move the site something can happen with the ownership of the files and folders. When you upload with FTP then the owner becomes the user and before the folders were created by the webserver. This owner change can cause that the webserver cannot create new imagecache files nor remove them. To solve this I had to make them writeble for all user to allow the webserver access again.

Now back on topic. The number of images in a CCK image field are configurable. If it is set to one, you won't be able to add more. Look at the Content Management > Content Types and the look for your product content type > Manage Fields > Configure the image field. Under Global settings you can set the Number of Values or maximum number of images for this field.

jklcom99's picture
Offline
Joined: 02/28/2010
Juice: 28
How to just show a single image for items with multiple images

I have mutlitple images for each items. The images are showing up correctly on the item node. I would like to show just the first image when the items are listed under catalog or in the featuredproducts view. Would someone show me how I might be able to do that?

Thank you

moondrop's picture
Offline
Joined: 03/24/2010
Juice: 253
multiple images

I was wondering if anyone figured this out. I also have multiple images per product which are displaying correctly on the product node pages, however, on the main catalog page, I just want one image to display rather than all 3.

does anyone have any ideas?

Also, I'm using Acquia prosper theme and on the product node page when you click on the first image, it displays it in a popup window at the same size, but when you click on one of the other 2 images, it enlarges in the display. Any idea why this happens?

thanks,

xwtiko's picture
Offline
Joined: 08/18/2010
Juice: 9
Re: How to just show a single image for items with multiple imag

I had the same problem and I believe/hope I solved it by adding the number 1 in the Show ... value(s) field when I edited the view Content: Image product_list image linked to node field preferences.

View picture for details.

AttachmentSize
view-one.jpg 86.41 KB
moondrop's picture
Offline
Joined: 03/24/2010
Juice: 253
Thank you. I got it working

I got that working...now I have an issue where I can't figure out how to resize the images automatically when a user uploads them (thumbnails). It either says it must be 150x150 exactly. I searched all over the internet trying to figure this one out. Any ideas? I' have no idea.

One other thing if anyone knows....I have it available for a user to upload 3 images to their product, however, it only displays one file upload field at a time rather than all three. is it possible to make all 3 upload file fields visible at once on the product create page?

xwtiko's picture
Offline
Joined: 08/18/2010
Juice: 9
Re: Thank you. I got it working

Can't you change that at ImageCache (build/imagecache) uc_thumbnail presets?