How can I copy images between accounts?

Follow

Comments

4 comments

  • Avatar
    Willemijn Schneyder

    What about videos?

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Roee Ben Ari

    Hi Willemijn,

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

     

     

    0
    Comment actions Permalink
  • Avatar
    Zeeshan Chawdhary

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

    0
    Comment actions Permalink
  • Avatar
    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
    Comment actions Permalink

Please sign in to leave a comment.