Skip to main content

Where can I get the API Environment variable?

Comments

12 comments

  • Official comment
    Akshay Joshi

    Hi Luis​,

    I've checked your account details and can see that you've signed up for our Media Optimizer product: https://cloudinary.com/documentation/media_optimizer

    Media Optimizer does not support the WordPress Plugin.

    If you would like to use features that are part of our Programmable Media (e.g. WP Plugin) or Digital Asset Management features, you can sign up for another free account using a different email address.

    When signing up for the other account, you can choose one of the other products to create an account that can use those features (in the signup form, either the Programmable Media for image and video API

    Regards,
    Akshay​

  • Luis Troya

    Hi Askhay, thanks for the quick response!

    That works, I have configured the plugin according to your suggestions.

    Now, I am having some issues when syncing images, the images in the gallery show a cloudinary blue icon with the title of "Not syncable. This is an external media".

    Do you have an idea why that happens? The file is on the Wordpress Media Library

    I tried adding the URL "General Settings > External Asset Sync Settings" but I still see the same.

    Kind Regards,
    Luis

    0
  • Victor Li

    Hi Luis,

    Are these particular assets outside your Media Library? There are settings in your Cloudinary settings that would actually allow you to sync external media, which you could consider. Please let us know what you think?

    Regards,
    Victor

    0
  • Luis Troya

    Hi Victor,

    I downgrade the version to 2.7.6 because of an issue with wp-graphql. See more info here: https://github.com/wp-graphql/wp-graphql/issues/2192

    I can see a "Sync now" button on that version that starts the sync with cloudinary.

    Thanks for the help!
    Kind Regards

     

     

    0
  • Victor Li

    Hi Luis,

    Thanks for the update! Were you on 3.0.2 before? The GraphQL issue should be resolved on a limited basis, you can see the release notes for 3.0.2 here: https://github.com/cloudinary/cloudinary_wordpress/releases/tag/3.0.2

    Specifically "Added support for Querying raw HTML content with WPGraphQL - content only". For now, if 2.7.6 is all that works for your use cases, this may be a temporary solution.

    Regards,
    Victor

    0
  • Luis Troya

    Hi Victor,

    Yeah, I was using that version before. I reinstalled that version again, please see the screenshots below:

    - Query and result: https://ibb.co/GVqzkj9
    - Media library image status: https://ibb.co/Hq6xgZR
    - Error I was talking before of "Non syncable. This is an external media": https://ibb.co/3mm6pG
      - Image URL: https://do-benchmark.chrisallan.co/app/uploads/benchmark_world_tour-1.png

    WPGraphql plugin version: Version 1.7.2
    Cloudinary plugin version: 3.0.2

    Is there anything I am missing?

    Kind regards.
    Luis

    0
  • Loic Verger Del Bove

    Hi Luis,

    By default, we only sync assets whose guid matches the domain of your website and since v3, you are now able to add other accessible domains under General Settings > External Asset Sync Settings but first, we will need to check the guid of your image. Can you please open a ticket to support@cloudinary.com and share a system report with the asset added to it as explained in the 2nd video here?

    Thanks,

    Loic

    0
  • Luis Troya

    Hello Loic,

    Sorry for the delay, I was digging in on the solution Mr. Victor gave me, he was right. The `guid` of the media library was not correct. I fixed them and the sync feature of the plugin is working as expected!

    I migrated the media library from one domain to another, since it is a Wordpress bedrock project, it uses environment variables to manage the domain URL across the whole site.

    The issue related to `wp-graphql` not giving me the cloudinary asset's URL remains. I will create the ticket as you suggest so you have all the information about it.

    Thanks for all the support!

    0
  • Luis Troya

    Hi Loic,

    Looks like the button to add a media item to the cloudinary report was removed. See the image below:

    Is there an option I need to enable to see that button?

    Kind regards!

    0
  • Loic Verger Del Bove

    Hi Luis,

    The button only appears if you have enabled the System Report feature. You can follow the steps here to enable it,

    Hope that helps.

    Best,

    Loic

    0
  • Luis Troya

    Hi Loic,

    Ticket created, thank you!

    Kind regards

    0
  • Loic Verger Del Bove

    Hi Luis,

    Thanks for opening the ticket.

    I have it in my queue and I'll reply soon.

    Let's keep the conversion on the ticket you just opened.

    Best,

    Loic

    0

Post is closed for comments.