If I want to display the raw image path in a view. How do I do that? I thought in the add fields section there was a 'file' selection, but I do not have this option.
I am uploading the images in a cck field and using imagecache to resize them.
I will display the imagecache picture, but the image will link to its raw path of the original file, not the imagecache file obviously.

I can do it all easily, but cannot figure out where to get the link of the raw image path. I can find its location on the server, but do not know what field I could use in the link to the grab the file name?

Comments

dawehner’s picture

Project: Views (for Drupal 7) » ImageField
Version: 6.x-2.11 » 6.x-3.x-dev
Component: files/upload data » Code

There should be perhaps a cck formatter. Move to imagefield.

quicksketch’s picture

Status: Active » Fixed

If I want to display the raw image path in a view. How do I do that?

Add a File relationship first, then you can use File: File path.

jrivelli’s picture

Version: 6.x-3.x-dev » 6.x-3.7
Status: Fixed » Active

The option for 'file' is not under the dropdown for adding a relationship. Am I missing something here?

quicksketch’s picture

The relationship name will be your CCK field name, such as Content: My FileField (field_myfilefield).

jrivelli’s picture

Status: Active » Closed (fixed)

Ah, ok thanks!