WordPress.org

Support

Support » Plugins and Hacks » Apply CDN URL to wp_get_attachment_image results

Apply CDN URL to wp_get_attachment_image results

  • There are places in our site where we use shortcodes to format content and pull images out of the DB using wp_get_attachment_image. What I’d like to do is get W3 Total Cache to try to pull these from the CDN at CloudFront. I thought using apply_filters(‘the_content’) to the image path directly would work but it doesn’t.

    Has anyone tried to do this before with any success?

    http://wordpress.org/extend/plugins/w3-total-cache/

  • The topic ‘Apply CDN URL to wp_get_attachment_image results’ is closed to new replies.