17 replies [Last post]
everydayjones's picture
Offline
Joined: 05/09/2008
Juice: 98
Was this information Helpful?

Please, someone either tell me step by step instructions, or direct me somewhere on the site that will explain how to add product images so they appear in the cart when purchasing.

It can't really be THIS difficult, can it?

Here's what I've done so far:

1. Installed CCK
2. Installled Image Cache 1.2
3. Installed Image Field 2.1
(seriously, why not bundle these with ubercart?)
4. Enabled all modules
5. Went to Admin > Content Types > Product > Edit > Add Field > Selected the Image radio button > Saved
6. Went Admin > Store > Clicked on the link next to IMAGE to properly configure for Ubercart
7. Went to Admin > Content > Edit Product "A" > Scrolled down to "IMAGE" and tried to upload an image.
8. Received error (see attached)

Pretty much at my wits end with Ubercart.

PreviewAttachmentSize
Clipboard01.gifClipboard01.gif19.62 KB
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Why is adding an image so damn difficult!?

To be honest, it really isn't that difficult. For starters, you're not downloading the recommended versions of the modules necessary for the default image support. They're linked from our project page. Basically, use ImageCache 1.7.

A quick word... the reason these modules aren't bundled w/ Ubercart is because Drupal modules are self-contained. We maintain Ubercart, other people maintain the image modules, and we all make sure we provide integration where necessary. The module nature of Drupal allows us to trim down our module to just what people need for a cart and integrate w/ other modules like this for people who need product images.

Now, if you install things in the right order, images will be added to product nodes automatically. Otherwise you have to figure out how to do it yourself... or you can go to the FAQ section of this site and view the first one... How do I enable image support for products?

I think we've made it pretty easy to find the information. The installation docs used to be clearer, and I'm fixing that for 2.0 (there's even a cheat sheet that details the process). In the meantime... Mike O'Connor made sure we have nice search here. Smiling

everydayjones's picture
Offline
Joined: 05/09/2008
Juice: 98
Re: Re: Why is adding an image so damn difficult!?

I always search. In fact 99% of my stuff is completed by searching, as you will see from my previous posts, I included reference URLs that contained questions to my search.

I'll look at this information.

everydayjones's picture
Offline
Joined: 05/09/2008
Juice: 98
Re: Re: Re: Why is adding an image so damn difficult!?

Well, I looked at the info, install what was necessary, and now when I upload an image, only the ALTERNATIVE TEXT is shown and not the image.

everydayjones's picture
Offline
Joined: 05/09/2008
Juice: 98
Re: Re: Re: Re: Why is adding an image so damn difficult!?

bump.

nadavoid's picture
Offline
Joined: 11/13/2007
Juice: 63
Check Imagecache, GD, maybe ImageMagick

Sounds like the image just isn't getting generated at this point. I have not implemented images in ubercart yet, but I'll see if I have any suggestions/questions that might be able to help you.

Have you tried running some basic tests to make sure that imagecache is installed properly, and that its underlying requirements are present? It seems like every server is a little different - with maybe a different version of GD or ImageMagick. (ImageMagick isn't necessarily a requirement. I only mention it in case that's the image processing method you have chosen.) Make sure that your server at least has GD available to PHP.

Also, using imagecache, create a new preset, and test it. You should definitely get an image at that point. If you don't, it's definitely a problem in the imagecache setup or image processing functionality in GD or ImageMagick.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Check Imagecache, GD, maybe ImageMagick

Did you ever update your ImageCache version? Also, are the permissions set properly on your files directory? If you bump them up to 777 and nothing happens, then I'd start to be concerned... but if images aren't being generated (as nadavoid pointed out), it could be a permissions issue.

johngflower's picture
Offline
Joined: 01/04/2009
Juice: 88
Same prob

I've got the same prob. Though in my case it's likely to be cos I've installed modules in a haphazard-devil-may-care manner and now I need to untangle my own mess Smiling. And yes, I've set all permissions to 777. Once I've got it sorted my website will be awesome.

I have some pictures. I've used Tiny TinyMCE and ImageAssist to successfully add pictures on my product nodes and on my catalog headers. I'm now trying for the thumbnails to go besides each product in both grid and list view. Also pictures of them in the cart, use the upload image option in the product node, and create thumbnails in the product nodes.

Someday soon I'll be promoted to moron. But until then please persevere with helping!

Cheers Smiling,

John

johngflower's picture
Offline
Joined: 01/04/2009
Juice: 88
Am I doing things right?

On:-

http://www.ubercart.org/docs/user/3339/basic_product_creation#image-notice

I found

If you didn't do this in advance, then browse to Administer > Store administration and look for the row in the status messages table with the title Images.

Didn't find this table, but did find one at

Administer > Reports > Status report

Changed all the red flags to green - no joy though. Was I looking in the right place? I do have a caution flag on ImageAPI GD Memory Limit 32M would this be a prob? All my pics are <1mb and I can see them in some places.

johngflower's picture
Offline
Joined: 01/04/2009
Juice: 88
And

for kick and giggles I've installed and uninstalled e-commerce and ubercart at least twice. Though i didn't create anything with e-commerce cos i never got it working!

johngflower's picture
Offline
Joined: 01/04/2009
Juice: 88
Re: And

2000 words attached

AttachmentSize
path3245.png 92.86 KB
path32455.png 138.33 KB
Garfeild's picture
Offline
Joined: 01/07/2009
Juice: 10
Re: Re: And

I have the same problem. Any help?

johngflower's picture
Offline
Joined: 01/04/2009
Juice: 88
I

am so clever! I got pics now, where I didn't before (got new problems... but I'll muddle through them). After trashing my site (by not following instructions, as usual) I created a 5.x drupal site (because of some weird problem with not progressing from the database config screen, even when using a unique prefix or creating a new mysql database, whilst installing drupal 6.Cool. I installed things in the correct order and I also enabled Clean URLs (which appears to be a requirement for one of the image modules).

everydayjones's picture
Offline
Joined: 05/09/2008
Juice: 98
Re: Re: Re: And

No, you won't get any help here. Sorry.

johngflower's picture
Offline
Joined: 01/04/2009
Juice: 88
Installation order

I believe that I got it working by in the order recommended by the documentation. Which advises installing imagecache and other modules first and ubercart last. Ubercart looks for imagecache and sets it up when during the Ubercart install process.

Hope that works for you.

Manop's picture
Offline
Joined: 01/11/2009
Juice: 18
Re: Why is adding an image so damn difficult!?

It's not that hard for me.

I'm a starter in Drupal and first-time user in Ubercart. Following the documentation in http://www.ubercart.org/docs will give you around 95%.

This is my method.

0. After installing Drupal and Ubercart Modules.
1. Uploading and enable following modules:
: cck, filefield, imageapi, imagecache, imagefield, thickbox
2. Go to Admin > Store administration
3. Look for the row "Images". You will see a link to update something. Click that link, and you're done.

That's all how I did mine.

Manop's picture
Offline
Joined: 01/11/2009
Juice: 18
Re: Re: Why is adding an image so damn difficult!?

I forgot to mention that I'm using Drupal 6.x with Ubercart 2.x beta.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Re: Re: Why is adding an image so damn difficult!?

Generally when there is a problem with images, it's not the fault of Ubercart. It's usually a problem with Image Cache. The issue itself is usually something to do with either your theme, if you are using custom templates for your products, or most likely the permissions on the server.

I've installed Drupal many times and never had the problems that others are experiencing, so I don't think at this point there is a "one size fits all" solution. However I'd probably start at with the actual module you are having trouble with - which in this case are your Image modules - and try asking for help there. There are probably more people who have been through the same issues, since those are the modules with the problems, and so they might be able to have working solutions.

--
Help directly fund development: Donate via PayPal!