10 replies [Last post]
sah62's picture
Offline
Joined: 06/01/2010
Juice: 62
Was this information Helpful?

I'm setting up a new cart with Ubercart. I noticed this status message:

"To automatically configure core image support, enable the Content, CCK Image field, and Imagecache modules."

The problem is that I already have all three modules enabled (Imagecache has both ImageAPI and GD2 (installed on my server) enabled). What else could cause this status message to appear?

alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Ubercart Core Image Support?

Go to cck and make sure there's an image field listed under the content type.

sah62's picture
Offline
Joined: 06/01/2010
Juice: 62
Re: Re: Ubercart Core Image Support?

I believe I've got that covered (see attached screen shot showing CCK config).

AttachmentSize
cck.jpg 87.5 KB
alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Re: Re: Ubercart Core Image Support?

You need to visit admin/content/types you already have what's needed installed. Check the fields under the content type Product and make sure there's an image field listed.

sah62's picture
Offline
Joined: 06/01/2010
Juice: 62
Re: Re: Re: Re: Ubercart Core Image Support?

I think I've got that taken care of, too. The picture filed I added (see attached screen shot) uses an image widget type. Does the modified type look correct?

AttachmentSize
product-type.jpg 59 KB
alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Re: Re: Re: Re: Ubercart Core Image Support?

Yep! You got it..

sah62's picture
Offline
Joined: 06/01/2010
Juice: 62
alien73 wrote: Yep! You got
alien73 wrote:

Yep! You got it..

Which brings me back to the original question since I still see that warning message. Should it be there if I have everything configured as shown above?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: alien73 wrote: Yep! You got

The code in Ubercart that prints this message is pretty simple:

if  (!module_exists('imagefield') || !module_exists('imagecache')) {
  // Print warning message
}

Really, the only thing that could be happening is that you don't have one of those modules enabled. Your screenshot shows ImageField enabled, but you don't show the section with Imagecache ...

<tr>.
sah62's picture
Offline
Joined: 06/01/2010
Juice: 62
TR wrote: The code in
TR wrote:

The code in Ubercart that prints this message is pretty simple:

if  (!module_exists('imagefield') || !module_exists('imagecache')) {
  // Print warning message
}

Really, the only thing that could be happening is that you don't have one of those modules enabled. Your screenshot shows ImageField enabled, but you don't show the section with Imagecache ...

I think I see the problem (see attachment for ImageCache screen shot), and it looks like a bug: the module name appears to be ImageAPI, not imagecache. Is that the problem?

AttachmentSize
imagecache.jpg 15.36 KB
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: TR wrote: The code in

No... ImageCache is called ImageCache. ImageAPI is a different module. You have to install ImageCache.

AttachmentSize
imagecache.png 46.98 KB
<tr>.
sah62's picture
Offline
Joined: 06/01/2010
Juice: 62
Re: Re: TR wrote: The code in

Bingo - fixed! Thank you!