diff --git a/php/sync/class-storage.php b/php/sync/class-storage.php index c91d4b1c0..5b7de8ef4 100644 --- a/php/sync/class-storage.php +++ b/php/sync/class-storage.php @@ -189,7 +189,9 @@ public function sync( $attachment_id ) { switch ( $this->settings['offload'] ) { case 'cld': $this->remove_local_assets( $attachment_id ); - update_post_meta( $attachment_id, '_wp_attached_file', $this->media->cloudinary_url( $attachment_id ) ); + $url = $this->media->cloudinary_url( $attachment_id, false ); + $url = remove_query_arg( '_i', $url ); + update_post_meta( $attachment_id, '_wp_attached_file', $url ); break; case 'dual_low': $transformations = $this->media->get_transformation_from_meta( $attachment_id );