Hi @chaserief,
Really sorry for the late reply. Sure, you can add your token manually to your theme’s functions.php file. That should work:
define( 'CF_IMAGES_KEY_TOKEN', 'TOKEN HERE' );
Best regards,
Anton
And you’ll also need the define( 'CF_IMAGES_ACCOUNT_ID', 'ACCOUNT ID' );
Thanks – that seems to have stuck. I now see “connected” as the status. When I try to click upload under bulk upload – it just sits on initializing.
@chaserief,
Is the individual image offload working? If not that might indicate that the Cloudflare token is not correct.
Could you please also tell me which hosting you are using, so I can try to replicate.
Best regards,
Anton
The individual offload isn’t appearing for me in the media library or I’m not sure where to find it. My host is https://getflywheel.com/
@chaserief,
You might be using the “Grid” view in the Media Library. Please try switching to the “List” view, and there should be an extra column “Offload status” that will have a link to manually upload each image individually. If there’s no link on the List view, most likely, something is cached incorrectly, and you should try clearing out cache, using this manual -> https://getflywheel.com/wordpress-support/how-do-i-clear-my-cache/
Best regards,
Anton
I am in the list view. No offload status column present. No option in the screen options either. I have cleared cache. I then deleted and re-installed plugin, still nothing.
Hi @chaserief,
Sorry for that. I had to create a site on Flywheel. And I saw the issue. Talked with their support. Adding a define to the theme’s functions.php file won’t help. You’ll actually need to contact their support via chat and ask them to add both of the defines above to wp-config.php. They do it with no questions asked. And it works after.
Don’t forget to remove the old defines to avoid warnings.
Best regards,
Anton
Wow! Thanks for going through those steps. I reached out to customer service and can confirm it’s working now.
@chaserief,
Thanks for reporting this, I’ll adjust how API data is used on Flywheel in the next release. Will close this topic. If you have any other problems, feel free to create a new thread.
Best regards,
Anton