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

thumbs are coming with blank id #21

Open
bydbest opened this issue Jun 2, 2018 · 0 comments
Open

thumbs are coming with blank id #21

bydbest opened this issue Jun 2, 2018 · 0 comments

Comments

@bydbest
Copy link

bydbest commented Jun 2, 2018

Hello,
@nicolqs
we are using this class and its working just fine for main image when we upload through media but not working for thumbs generated by media.

we are hooking like this wp_async for
add_action( 'wp_async_wp_generate_attachment_metadata', array( &$this, 'media_uploader_callback' ) );
add_filter( 'wp_generate_attachment_metadata', array( &$this, 'thumbnails' ) );

I tried adding wp_async to add_filter but then nothing is coming to remote server. so is there any way? as main image works fine with first hook

i can see with var_dump that full data is available including thumbs but only main image are going to remote server and checked with file put contents and i can see that thumbs are not coming as thumbs id were empty

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