All images in blog posts are wrong images
At some point, it looks like the images in our Wordpress blog posts got linked to incorrect images in Cloudinary. All blog posts have an image of the blog post author embedded in the post, and every blog post now shows an image of someone else. This appears to be a problem with image sync. I'm guessing it happened in the upgrade to version 2.0 of the plugin. These images were never intended to be synced to Cloudinary; we mainly use Cloudinary for some custom plugins. But it looks like the new version of Cloudinary plugin turned on automatic sync, and something went terribly wrong with the synchronization. I've upgraded to the latest version of the plugin and now have auto-sync turned off. But when we edit the blog post and try to insert the correct image from the media library, it reverts to linking to Cloudinary and the wrong image.
First, is there any way to stop it from linking to Cloudinary and to link to images in the media library?
Second, once we can do that, is there any way to automatically revert hundreds of blog posts to their original images without having to edit each one manually?
-
Hi,
Before we investigate this further, let's first try and get a temporary solution for your images to work as before.
Have you upgraded your plugin from v1.1.12? Is this the last version that worked well with your site? If so, did you first migrate away from Cloudinary or upgraded the plugin without first migrating away from v1?Do you have a backup of your site made before upgrading to v2? Is this copy useable? If the answer is no, have you tried as a temporary solution to downgrade the plugin back to v1.1.12 to see if things go back to how they were before?
In case you haven't tried it yet, you don't have a backup from before, and would like to give it a try, please make sure that you do make a backup this time so if anything goes wrong, you will have the current state of your site to get back to. If you have a sandbox environment, it would be even better testing it on such an environment first before making any changes on your production site.
For further investigating why you experience this uncommon behavior with v2 of the plugin, where the wrong images are being delivered for the avatars, please open a support ticket at support@cloudinary.com, sharing the full details of your environment, including WP version and a list of all other plugins installed and one of our agents will continue from there.
Best,
Raz0 -
Thank you. I always back up before upgrading plugins, but since we didn't discover the issue right away, restoring the backup is not an option because we would lose more recent changes to the site. I do have a copy of 1.1.12 that I can downgrade to, but before I do that, I want to make sure there are no database changes made when the plugin upgrades that would be not backwards compatible. Is it safe to downgrade the plugin?
0 -
Hi,
with v2, the URL is generated on post, meaning it's done during the page render. On the other hand, with v1, it will update the database with Cloudinary URL.
When you are upgrading from v1 to v2, our plugin will migrate away and restore the database entries to its original state.
Restoring to v1 should be a safe operation and backward compatible, however I would still recommend make another backup of your current state first.
Just curious, when you upgrade Cloudinary's plugin, can you let us know the original version and the upgraded version?
Regards,
Erwin Lukas0
Post is closed for comments.
Comments
3 comments