When placing an image field in Views it's impossible to configure them as an absolute link.

Normal ways aren't possible...

  • The included "Link image to" lacks an absolute option.
  • Adding an excluded [path] field for use in "rewrite results" with "Use absolute path" does not go absolute. It does in the preview, but not real display (cache cleared).

Here's the crazy kicker...

  • Adding a "Custom text" field with a [path] set to absolute, then placing an anchor tag around an image turns the link back to non-absolute. I can even output the full [path] as text URL, but the moment it wraps an image it's force back to relative.

Don't know where else put this wack-a-doodle error regarding image fields + Views.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

doublejosh’s picture

Here are two screen shots of this crazy business.

marcingy’s picture

Project: Drupal core » Views (for Drupal 7)
Version: 7.14 » 7.x-3.x-dev
Component: image system » Code
dawehner’s picture

Wow!

I'm just guessing, maybe the browser does some improving of the actual output. This would probably require some research.

doublejosh’s picture

This may belong in Image rather than Views... but [path] being unreliable made me believe Views.