Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organic Content Slideshow Background images and Jetpack #1

Open
rohitagre opened this issue Mar 5, 2018 · 0 comments
Open

Organic Content Slideshow Background images and Jetpack #1

rohitagre opened this issue Mar 5, 2018 · 0 comments

Comments

@rohitagre
Copy link

Organic content slideshow shows featured images as background images, However when jetpack image cdn is turned on, all images on my website are delivered from jetpack's domains
example
https://j99.in/wp-content/uploads/2018/03/bbn.jpg
becomes
https://i2.wp.com/j99.in/wp-content/uploads/2018/03/bbn.jpg?resize=768%2C493&ssl=1

Is is possible to achieve the same in the plugin,

Here is a example provided by jetpack,
get_template_directory_uri() . '/images/x.jpg'
now becomes
apply_filters( "jetpack_photon_url", get_template_directory_uri() . '/images/x.jpg' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant