Images hosted on Cloudinary - don't need that

Comments

5 comments

  • Avatar
    Stephen Doyle

    Hi,

    When you disable the Cloudinary plugin, it should stop changing the URLs of your Wordpress media assets to point to the copy stored in your Cloudinary account, because the plugin changes the URLs 'realtime' based on the current plugin settings.

    If you're seeing otherwise, may I please ask you to open a support request for us directly and to include your account details and the details of your Wordpress version, the version of the Cloudinary Wordpress plugin you're using, and any other relevant plugins that may change attachment URLs when your theme is rendering them? (any 'cache' or 'cdn' plugins, especially)


    Regards,

    Stephen

    0
    Comment actions Permalink
  • Avatar
    AnD

    Hello,

    Deactivating the plugin would not be helpful because I need it for video - but not for images.

    How can I achieve that?

    0
    Comment actions Permalink
  • Avatar
    Stephen Doyle

    If you'd like some assets to be synced but not others, it's possible to use the manual sync option of the plugin and then select which assets should be synced to Cloudinary manually in the Wordpress media library but there's no equivalent option to manually "unsync" a file that was already copied, so assets that were already copied will continue to be delivered from Cloudinary as long as the plugin is active.

    If you want to 'start over' without syncing images, I think the simplest option would be to restore the site from a backup taken before the sync started, then use the manual sync instead.

    If you've very comfortable with the Wordpress system and database, you could also update the asset metadata in the Wordpress media library database manually to make them in a 'not synced' state though we don't recommend and cannot support that option as it may break the plugin's ability to sync other assets or update your asset URLs correctly, as it relies on metadata added by the plugin to know the status of each asset.

    Regards,
    Stephen

    0
    Comment actions Permalink
  • Avatar
    AnD

    This is unacceptable. You change my database without telling me and the only way to change that is to delete my site. Are you serious?

    This is a development site. There is no backup yet.

    You need to provide me with a solution!

    0
    Comment actions Permalink
  • Avatar
    Stephen Doyle

    Hi,

    Our Wordpress plugin is designed to support an automatic and quick integration that delivers all or many of your assets from Cloudinary using transformation options to optimize the assets' file sizes to match where the asset is used by your theme, but it doesn't support all possible integration methods with Cloudinary.

    If you have more complex requirements than are supported by the plugin, you can also use our PHP SDK or your own code to manage syncing assets to Cloudinary and/or updating your site's HTML to refer to the assets in your Cloudinary account and add transformation options to the URL

    Regarding your request, when you use the automatic sync option of the plugin ( https://cloudinary.com/documentation/wordpress_integration#sync ), assets from the Media Library are either moved or copied to your Cloudinary account depending on the option selected (Cloudinary Only or Cloudinary+ Wordpress).

    You can also use the manual sync option so that files are not copied or moved unless you specifically choose them to be synced using the option that we add to the Wordpress media library beside each asset

    When an asset is synced, our plugin adds metadata to that asset in WP's media library, containing details of how that asset is stored in your Cloudinary account. When the plugin is enabled, any asset which has that metadata present will be delivered using your Cloudinary account instead of from your Wordpress media library. 

    If you don't want to deliver your assets from Cloudinary, you can disable the plugin and all files will be delivered from your server automatically: https://cloudinary.com/documentation/wordpress_integration#uninstall , but the plugin does not currently support 'de-syncing' specific assets. If you use "Cloudinary Only" storage or want specific files to be served from your WP library again, you'll need to manually sync yourself.

    If you'd like the option to 'un-sync' specific assets using the plugin, I can forward that to the plugin's development team as a feature request and it may be added in a later version.

    In the meantime, I mentioned restoring a backup from before the sync as a possible workaround that would allow you to achieve your requirements, but if that's not possible, you may also be able to clear the sync-related metadata manually to achieve the same effect, but that's not something we can support directly as it's outside the feature set of our plugin.

    If you don't want your assets delivered via Cloudinary you don't need to make any changes to the WordPress media library or plugin yourself, you can just disable the plugin and the plugin will stop updating your asset URLs at delivery time

    Thanks,

    Stephen

    0
    Comment actions Permalink

Please sign in to leave a comment.