I just installed the cvs imagefield type for cck but when adding new fields there is no image field option!?
How do I get the image field option to show up?

I am using cck 4.7 and drupal 4.7.3

Comments

Arto’s picture

I'm scratching my head over this, as well, though with the imagefield 4.7 version.

3dsoft’s picture

I just updated cck (version from the 08-21-2006) and run the update.php. Now, the image field option shows up!

horse ranch
-----------------
www.joelle.de

3dsoft’s picture

The image field shows up but the images are not being uploaded! Does anyone have a similar problem?

horse ranch
-----------------
www.joelle.de

dclausen’s picture

I also had the same problem with a fresh install of drupal 4.7.3 and cck-4.7.0 with imagefield-4.7.0. After some debugging, I fixed it by moving the lines beginning on #319 of imagefield.module:

      // Load files from preview state. before committing actions.
      if (is_array($_SESSION['imagefield'][$fieldname]) && count($_SESSION['imagefield'][$fieldname])) {
        foreach($_SESSION['imagefield'][$fieldname] as $delta => $file) {
          $node_field[] = $file;
        }
      }
      break;

just below their original position and into the form case.

Here's a diff:

diff imagefield.module ../imagefield/imagefield.module
316c316
<       break;
---
>
318c318
<     case 'form':
---
>
324a325,327
>       break;
>
>     case 'form':
370a374
>
dclausen’s picture

reportedly fixed in both imagefield 4.7.0 and cvs

dtabach’s picture

look http://drupal.org/node/82598

Durval Tabach

Durval Tabach

flevour’s picture

Clearing the cache should fix your problem
Cheers,
flevour
---------------------------
http://www.flevour.net