Hi Anthony,
We’re getting the Cloudinary image URL using wp_get_attachment_metadata()
, splitting the URL, and adding our own transforms in this way. This is a custom function that we use inside our theme.
Doing this unfortunately means that our URL gets rewritten as part of the plugin. For now we have disabled this using the following, but I don’t know how sustainable it is to keep this in our functions file.
function remove_cloudinary_actions() {
remove_all_actions( 'cloudinary_string_replace' );
};
add_action('init', 'remove_cloudinary_actions', 999);
Is there another option available to do this? Ideally more of a first-party solution?
Many thanks,
Jack.