I'm in Drupal 6/views 2 and am rewriting the output of an image field. Is there a way to fetch the filepath of the image for the output? I have tried the filepath token for the image field, but the src for the image is not rendering, just the argument. Should I be using a preprocessor hook in a template file to do this instead?
One trick I like to use is adding a field that contains the value I need, then hiding it from display but using it's token value for your original field's override.
So your view fields would look something like:
image path (hidden from display) image (using value from the above field)
Keep in mind that the order is important here, so you only have access to tokens that are above the field you want to use them in.
You may need to tweak the settings of the path field to make it the style of url you need (relative, absolute, etc).