I suppose that this is caused by imagefield?

I have a field in cck that uploads an image. I can select an image and I can upload it. It is then in the folder where it is supposed to be. But after saving the cck node at the end of the cck form, the thumbnail in the cck form is gone, and the image is also not shown on the node.

Does anybody have a clue why this can happen. It worked fine a month ago, but now it doesn't. I upgraded to the newest versions of Imagecache, CCK, Imagefield and so on.

Thanks in advance

Comments

no2e’s picture

Can you see the uploaded images after clearing Drupals cache or re-editing the node?
If so, this might relate to http://drupal.org/node/309509

clown10’s picture

No, I can't. I tried everything I could think of, but the images are never shown.

So then I set up a complete new installation with the same moduls and versions and it works. But I really don't want to build the whole site again with all the content.

rene_kapusta’s picture

i have quite the same problem. the image is saved and there is a thumbnail in the admin -- but the title/alt/description text is not saved in the database (i also updated all related modules to the current version running D6.4)

i discovered also some strange things in imagefield.install...

159:     $new_field['columns']['data'] = array('type' => 'text', 'serlialize' => true);

--> should it maybe: 'serialize' instead of 'serlialize'?

168:     $batch['operations'][] = array('_imagefield_update_6102_move_operation', array($field));
169:    $batch['operations'][] = array('_imagefield_update_6102_drop_operation', array($field));

--> the functions in the same file are named: _imagefield_update_6001_*_operation -- the functions above do not exist :(

loaded data from dev module in a node:

      (Array, 12 elements)
            fid (String, 2 characters ) 96
            list (String, 1 characters ) 1
            data (Array, 4 elements)
                  fid (String, 2 characters ) 96
                  width (String, 1 characters ) 0
                  height (String, 1 characters ) 0
                  duration (NULL)
            uid (String, 1 characters ) 1
            filename (String, 12 characters ) DSC01944.JPG
            filepath (String, 34 characters ) sites/default/files/DSC01944_0.JPG
            filemime (String, 10 characters ) image/jpeg
            filesize (String, 6 characters ) 604105
            status (String, 1 characters ) 1
            timestamp (String, 10 characters ) 1222177406

--> width and height are not correct and i suppose there should be the title/alt/desc. strings...

cheers,
rene

pierremarcel’s picture

I had the same problem, but my problem was with lightbox2. I don't know if you guys are using it (lightbox2) but if you are, update it to the dev version.

Now for me CCK>>imagefield >>imagecache>>lightbox2 working great!

I hope this will help.

Pierre

rene_kapusta’s picture

i don't use lightbox, but after i deactivated "FileField Meta" it's now working (i also de-/reinstalled other modules, but "FileField Meta" seems to be the main problem)

chellman’s picture

I can confirm that disabling FileField Meta got alt text working for me.

mecano’s picture

subscribing

openmind’s picture

Hi Guys,

I had the same problem. Disabling FileField Meta got alt and titles working for me. Though I would really like to use FileField Meta as well.
Any ideas on how to get them playing nicely?

I'm using....

Drupal 6.6
CCK 2.21
FileField Meta 6.30

Kind regards,

Chris

possum4all’s picture

subscribing

quicksketch’s picture

Status: Active » Closed (duplicate)

This is already fixed in #310126: Filefield Meta erasing file descriptions. It'll be corrected in the next release of FileField.