Just upgraded to 4.6.0 and now I see that the
CiviCRM Contact Image field in Drupal views now uses the views image handler! Awesome! Prior to 4.6 it was just a string containing a URL to the image. Thanks to @Shawn Duncan for his efforts and contribution.
However, I can't get it to work. The image URL it produces gives a
Example URL that returns 404:
But the actual working URL to the file is:
So it's inserting an extra
example.com after the
/files/ and it's using this
/contact/imagefile%3Fphoto%3D instead of the actual path to my custom uploads.
Using Drupal image presets is broken in 4.6 since at least 4.6.6; if you select an image style in Views, it mangles the URL to something like
<img typeof="foaf:Image" src="http://styles/medium/http/example.org/civicrm/contact/imagefile?photo=bsglogo_49524b829beb4448767ee75a42f2dcc0.jpg&itok=dGLXdcig" width="220" height="220" alt="" title="">
Is there a suitable workaround?