I'm trying to get W3TC configured to use Amazon CloudFront (origin pull), but I can't get it working.
Attachments don't display because the URL given in the <img> tag is the distribution only. Let's say I have an image at "wp-content/uploads/2013/06/image.jpg", a blog at "example.com" and a CloudFront distribution with CNAME "cdn.example.com". In a post I should see an image at "http://cdn.example.com/wp-content/uploads/2013/06/image.jpg", but i'm not. Instead, I have a missing image icon because the image tag has "http://cdn.example.com/" rather than the complete URL.
I've tested the distribution from W3TC and verified that the images are being distributed via CloudFront (and its CNAME). Why isn't the rest of the image URL being appended to the CNAME?