Hi,

I have a cck image field for a content type named "field_photo". The content type itself is called "photo".

I also have a feed content type which gets a feed from flickr. This feed is set to convert the feed items into the above mentioned "photo" content type.

In the feed settings, I have set imagegrabber to map the images into the cck image field (field_photo).

However, upon saving the feed, the feed items get generated as photo content types but upon checking the photo content type, I see that field_photo variable does not contain the image. the image is instead embedded into the text description.

the content type does not have an embedded image type field - just an image field.

has anyone else experienced this? is imagegrabber supposed to work only with embedded media/image fields only? am I missing a step?

my setup:
Apache 2
Drupal 6.14
Feedapi 6.x-1.9-beta2
Feedapi Image Grabber 6.x-1.8

thanks

CommentFileSizeAuthor
#8 flickr-feed-settings.png51.06 KBh3000
#8 photo_field_settings.png47.4 KBh3000

Comments

publicmind’s picture

Assigned: Unassigned » publicmind

Hi,

May I have the feed url and a few screenshots explaining the expected output as well the output you are getting..

That will be useful.

Regards,

publicmind’s picture

publicmind’s picture

Hello,

I tried to refresh the public feed of FLICKR:

http://api.flickr.com/services/feeds/photos_public.gne

and the results were normal, as you can see here:

http://publicmind.in/drupal/node/2446

The only image you see is the one in the cck imagefield. May be you would like to provide me with the feed url you are using and your imagegrabber settings, so that I can test run that too.

"the content type does not have an embedded image type field - just an image field."

I guess you have "FULL HTML" as the Input filter on text description. Sometimes a feed-item can be like this (taken from the same flickr feed):

<p><a href="http://www.flickr.com/people/30139484@N04/">nigey1</a> posted a photo:</p> 
<p><a href="http://www.flickr.com/photos/30139484@N04/3978941453/" title="Turkey Sept-Oct 2009">
<img src="http://farm3.static.flickr.com/2599/3978941453_6d99962a49_m.jpg" width="240" height="180" alt="Turkey Sept-Oct 2009" />
</a></p>

Now the feed text contains the image, so if you have FULL HTML filters on, the text will be rendered as regular HTML, hence you see an embedded image. Switch to Filtered html if you do not want the embedded image.

But this does not explain why CCK Imagefield is empty.

Thanks,

h3000’s picture

Hi publicmind,

The flickr feed that I am trying to import is:
http://api.flickr.com/services/feeds/photos_public.gne?tags=shenzhen

What are common causes for the problem?

The cck field is a normal image field - does it have to be an embedded image type?

thanks,

publicmind’s picture

Category: bug » support

Hi,

This url is no different from the one I used, but I still refreshed it. and the results were normal as you can see here:

http://publicmind.in/drupal/node/2446

You need to configure your feed-item type with an imagefield (field with type 'File' and widget 'Image'). Thats all what is needed. Did you set any presets for the imagefield using imagecache? how do you know that the CCK imagefield is empty?

Regards,

h3000’s picture

The feed is set up to map whatever feed items into an existing content type (named "photo") which has an image field.

There is an imagecache preset for the image field - just the normal actions - it works for times when the photo content type is manually entered.

I found out that the imagefield is empty because when I try to edit the node - (the photo node), I see that there is no image for the image field. Looking at the node variable also shows the variable does not have a file path set for the imagefield.

I just see that the image is showing in the description portion of the image (using a WYSIWYG editor).

publicmind’s picture

hi,

can you please pass the screenshots of your feed settings, imagegrabber settings, and the field settings for this imagefield?

Regards,
Nitin

h3000’s picture

StatusFileSize
new47.4 KB
new51.06 KB

Hi,

Attached are the screenshots for the feed / imagegrabber settings as well as screenshot for the photo content type.

thanks,

publicmind’s picture

Status: Active » Postponed (maintainer needs more info)

Please open this issue again, if you can find more information about reproducing the error.

Thanks,