Skip to main content

How can I copy images between accounts?

Comments

4 comments

  • Willemijn Schneyder

    What about videos?

    Thanks

    0
  • Roee Ben Ari

    Hi Willemijn,

    The same principles are true for videos as well (both using auto-migration and the API).  

     

     

    0
  • Zeeshan Chawdhary

    How do you specify the destination cloud environment in this example ? 

    0
  • Patrick Tolosa

    Hi Zeeshan,

    When you set-up the Cloudinary class, you need to define the cloud environment for that instance. any upload done after this point will be uploaded to the specified cloud.

    For example, in PHP this is how the set-up looks like when using arguments. 

    \Cloudinary::config(array( 
      "cloud_name" => "my_cloud_name", 
      "api_key" => "my_key", 
      "api_secret" => "my_secret", 
      "secure" => true
    ));

    Since the images are public, you don't need to connect the SDK to the source cloud - you just need to connect it to the target cloud.

    0

Please sign in to leave a comment.