• Resolved SoN9ne

    (@son9ne)


    Hello,

    We have the pro version of this plugin. Everything works fine when using the default URL. When using a CDN URL, the image sizes are not pulled properly. Meaning, this shows the full sized image, not the resized size. This is easy to duplicate by enabling and disabling the CDN.

    The CDN is applied using the hook: wp_get_attachment_url

    The hook is doing this:
    str_replace(WP_CONTENT_URL, \OLY_SITE_CLOUDFRONT_URL.'/wp-content', $url);

    It should also be noted that we are using a protocol agnostic URL:
    e.g. //cdn.assets.domain.com But this issue happens even when using a strict typed protocol too.

    Any help on this is appreciated.

    • This topic was modified 7 years, 9 months ago by SoN9ne.
Viewing 1 replies (of 1 total)
  • Plugin Author Content Views

    (@pt-guy)

    Hello,
    New CVP version will introduce easy way to resolve this problem without custom code.

    For further discussion about Pro version (which is prohibited in this WordPress forum), please contact us here.

    Thank you,

Viewing 1 replies (of 1 total)
  • The topic ‘CDN Assets don’t resize or use template image sizes’ is closed to new replies.