4

I am exporting some XML feeds using Views. One of these fields needs to look like this:

<image>http://example.com/path/to/myimage.jpg</image>

I am storing my image in a CCK field. When selecting that field in Views, these are the options provided:

enter image description here

I don't need an teaser, full node, editable something, or HTML formatted link, just the path to the image. How do we alter that Format selector?

1 Answer 1

2

If your content type is blog, for example, and it has a CCK image field, create a relationship from your blog content type to the image content type.

Create a new field in the View and select the field_image from the image content type, make sure to select the relationship you created:

enter image description here

And select URL to file from the Format dropdown:

enter image description here

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.