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

Images within Admin AJAX not handled #38

Open
mikeselander opened this issue Feb 5, 2019 · 0 comments
Open

Images within Admin AJAX not handled #38

mikeselander opened this issue Feb 5, 2019 · 0 comments

Comments

@mikeselander
Copy link

The Tachyon plugin currently doesn't handle any images served via admin-ajax by default. This leads to missed expectations whereby images loaded for the frontend via admin-ajax (infinite loading or load more functionality, for example) are only partially passed through Tachyon. The main image URL is not Tachyoned, but the srcsets are.

One could modify this behavior with the tachyon_disable_in_admin filter and custom logic, but I would expect the plugin to be able to do some default differentiation and tell whether or not it should handle images in an admin-ajax context.

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