I installed it now and connected with Cloudflare images. When I click bulk offload it starts offloading and I see images appearing in Cloudflare but when I check the URL on the site, I still see my normal img url. Also, in the Media Library, I do not see any offload column so I cannot offload individual images. Please advise.
-
This reply was modified 2 years, 1 month ago by
jezkerw.
Hi @jezkerw,
To answer your first question. If you do not enable experimental options, the plugin will not make any changes to your media library. You will be able to disable/remove the plugin and revert everything back to the original state.
If you are not able to see the columns in the media library, but are able to see the actual images in Cloudflare Images, I would recommend trying a workaround. Disconnect from the API in the plugin settings and reconnect with the “Store credentials in the database” checkbox toggled. This will store the credentials in the database and should fix any compatibility issues.
Best regards,
Anton
Hi, I tried this and now I do see the column but when I try to offload I get the following error:
“{“success”:false,”errors”:[{“code”:10000,”message”:”Authentication error”}]}”
This means that your API token is either setup incorrectly or there’s a typo somewhere. Please have a look at this guide on how to setup an API token with correct permissions: https://vcore.au/tutorials/how-to-setup-cloudflare-images-plugin/#cloudflare-account-id-and-api-token
Ah, yes. I had to delete my old API token and create a new one and now it works. So when I offload my images, they will automatically be served from CF now? And when I delete the plugin, all will be back to normal then and my images will be served from my server again?
Also, is there any risk with SEO doing this as the image url changes?
-
This reply was modified 2 years, 1 month ago by
jezkerw.
@jezkerw, correct. Only experimental options change the media library structure. Everything else is 100% reversible by disabling the plugin.
Thank you sir, that’s great. And also I wonder, does this affect SEO as the image url are changing?
@jezkerw,
I’m not 100% sure on the SEO part. However, if you enable the “Serve from custom domain” option and add in your website domain, you will be able to serve images from your site domain, instead of the Cloudflare one.
Best regards,
Anton
Hi, I think the problem is that it completely changes the url from example
/game-title.jpg
to
/e34334-342342-299
Will enabling “Keep media library structure” fix this?
Welcome 😉 I’ll mark this as resolved, but feel free to create new threads if you have any questions or issues.
Best regards,
Anton