I am using feedapi and feedapi mapper to grab data from a feed and map it to cck fields in a custom node type. I can grab all of the data and map it ok. The feed provides image urls which are just plain image links (http://host/path/to/image.jpg"). My problem is when I'm trying to use the image data. All I want is for a cck field type that will turn the wrap the URL in a
tag. I'm not sure which type of cck field that should be mapped to.
I've tried to use embedded images from http://drupal.org/project/emfield, but that doesn't seem to handle plain urls. That wants to handle images from flicker, imageshack etc.
I've also looked at http://drupal.org/project/imagefield. But that modules wants the images to be uploaded to my site. I don't want that either. I want the images to stay on the server I'm pulling the feed from.
Which module or cck field type should I be using? Or, how can I modify an existing module to handle plain image URLs?
Comments
Good question
Following this...
I don't think there is a way with a module currently. All the modules tend to focus on either pulling images from flickr or uploading. I'm interested in developing a more "tumblr" style way of doing this where you can just grab an image url. Currently, I think you would need to get into the theme for your nodetype and manually pull in the image url into an "img src" tag.
Thank you for the reply. I
Thank you for the reply. I guess I'll have to figure out how to do this with themes. This seems like a simple task though. I'm sure a lot of other sites have done this.