Comments (18)
@qdz90 - it is fixed when requesting the content but not when requesting image nodes. For the image nodes, it is fixed in 3.0.3
that will be released next week.
from cloudinary_wordpress.
@LarsEjaas we have released 3.1.6
that should fix this issue.
Please let us know if it is not the case!
from cloudinary_wordpress.
@cfab could you share more details on this? Are you using a Custom REST API endpoint or the core one?
from cloudinary_wordpress.
Hello,
with the version <3, the given url for a media in the rest api (or using wp-graphql) was the cloudinary media url
Since version 3, the given url is the local url, why did you change this ?
see screenshot below (now and then before v3 - look at the sourceUrl data) - or is it just me ?
from cloudinary_wordpress.
Any update on this? @cfab @Vdeub-cloudinary
from cloudinary_wordpress.
from cloudinary_wordpress.
@ashleynexvelsolutions @cfab - we are working on this and hope to have a fix for 3.0.2
.
I'll keep you posted on this.
from cloudinary_wordpress.
from cloudinary_wordpress.
We have released 3.0.3
that fixes this issue. Please upgrade and let us know if you still encounter any issues. Thanks!
from cloudinary_wordpress.
After updating to 3.0.3 from 2.x.x, I am now experiencing this problem
from cloudinary_wordpress.
Hi @thrugl, Could you please share the query you're running and the output?
from cloudinary_wordpress.
Hi @thrugl, to add to Aleksandar's message. Could you please open a ticket to [email protected] with a system report? If you can also share if it is happening for all images or specific ones that could also be helpful.
from cloudinary_wordpress.
I am experiencing the same issue using the Cloudinary WordPress plugin v. 3.0.9 and WPGraphQL plugin v. 1.13.9.
If I check the URL inside WordPress admin when editing Posts and Pages I get the correct Cloudinary media URL, But when using the GraphQL API endpoint (or using the GraphiQL explorer) I get the WordPress image url.
I have tried downgrading the Cloudinary plugin, however v. 2.7.6 of the plugin crash in the post editor of WordPress v. 6.1.1
from cloudinary_wordpress.
Hi @LarsEjaas, could you please open a ticket to [email protected] with a system report and an example of GraphQL Query you are doing? Thanks!
from cloudinary_wordpress.
I am sorry for not getting back earlier!
After some debugging I have narrowed the issue I am experiencing to the use of an authorization plugin I use to set CORS headers to my headless frontend:
https://github.com/funkhaus/wp-graphql-cors
I guess this is probably out of the scope of the support from you guys 🙂 But this is how it can be replicated:
-
Install the WPGrapQL WordPress plugin, the WP Graphql Cors plugin and the Cloudinary WordPress Plugin. Make sure the default "Sample Page" is published and add a
featured image
to the page hosted on Cloudinary. -
Rightclick the featured image and copy the image URL to make sure it points to a Cloudinary URL.
-
Go to the:
GraphiQL IDE
menu point inside WP admin. -
Inside the IDE add the following graphQL query:
query GET_PAGE(
$uri: ID!
) {
page: page(id: $uri, idType: URI) {
featuredImage {
node {
sourceUrl
}
}
}
}
- In the
QUERY VARIABLES
field just below the field for queries, add the following JSON object:
{"uri": "sample-page"}
- Click the
Execute Query
▶️ button inside the GraphiQL IDE.
Expected behavior
I expect the image slug/URL to point to Cloudinary. I got a slug/URL pointing to the WordPress domain.
Issue created for the WP GraphQL Cors plugin
I have created an issue here: funkhaus/wp-graphql-cors#45
I consider this resolved from your side really, as the Cloudinary plugin is working fine when I disable the WP GraphQL Cors
plugin 🙂
from cloudinary_wordpress.
@LarsEjaas
Thanks for the detailed explanation.
I will try to reproduce the issue on my side and see if there is anything we can do.
I'll keep you posted if I find anything interesting.
from cloudinary_wordpress.
@LarsEjaas Thanks for the detailed explanation. I will try to reproduce the issue on my side and see if there is anything we can do. I'll keep you posted if I find anything interesting.
Thanks @Vdeub-cloudinary - please reach out if you need further details!
from cloudinary_wordpress.
@LarsEjaas we have released
3.1.6
that should fix this issue. Please let us know if it is not the case!
@Vdeub-cloudinary This is incredible! I am so hyped about this: Can't wait to check it out! Thanks a lot for taking the time to write to me 🙂
from cloudinary_wordpress.
Related Issues (20)
- Can't add an image from Cloudinary to the Image Block HOT 3
- PHP 8.1 support HOT 4
- Proper image urls don't come through WPGraphQL HOT 7
- Cloudinary URL no returned for background url in css HOT 1
- Cloudinary URLs for WPGraphQL Yoast SEO Addon HOT 4
- Calling wp_calculate_image_srcset in a multisite environment returns the wrong srcset HOT 5
- Bug Report: Cloudinary Version 3.0.2 - cloudinary.openMediaLibrary is not a function HOT 5
- Cloudinary v3.0.4 incompatible with Elementor plugin when saving Chinese text HOT 2
- PHPCompatibiltyWP missing from PHPCS config file HOT 4
- Getting a crash (HTTP ERROR 500) when trying to edit page with WP Bakery and Cloudinary plugin activated HOT 2
- Using cloudinary_wordpress with polylang plugin causes error in the site Editor HOT 3
- Cloudinary urls replaced everywhere in the admin but not when accessing acf fields directly HOT 2
- Old URL used when uploading media from the WordPress APP via the block editor HOT 3
- This is failing and returning notice error HOT 4
- clean_url method no longer exists in Delivery class HOT 4
- Unable to install plugin - class Cloudinary\Utils does not have a method "install" HOT 4
- Responsive mode breakpoints are not the same for landscape and portrait images HOT 5
- 500 error when saving page HOT 5
- Cloudinary Process killed by long process killer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudinary_wordpress.