joppuyo / acf-image-aspect-ratio-crop

Image Aspect Ratio Crop field for Advanced Custom Fields
https://wordpress.org/plugins/acf-image-aspect-ratio-crop/
GNU General Public License v2.0
106 stars 16 forks source link

GraphQL problem #30

Closed igorbumba closed 4 years ago

igorbumba commented 4 years ago

Doesn't have option for GraphQL. All other fields from ACF currently support GraphQL.

joppuyo commented 4 years ago

Hey, I'll have to check if it's possible to add this on my plugin's side or if this is something that needs to be added on GraphQL plugin side. You are talking about this plugin, right?

It looks like there are some filters that can be used but they are not documented super well.

igorbumba commented 4 years ago

Yes, that's the plugin. We found out a hackie/workaround version but still didn't test it.

joppuyo commented 4 years ago

Hey, I figured it out and added GraphQL support in the latest version, please check it out and see if it works like it should.

igorbumba commented 4 years ago

It works. You are awesome! Thank you!

joppuyo commented 9 months ago

I don't use WP GraphQL but feel free to send a pull request if you figure out a way to fix this in the current version of that plugin, preferably in a backwards-compatible manner.

yantei commented 9 months ago

I don't use WP GraphQL but feel free to send a pull request if you figure out a way to fix this in the current version of that plugin, preferably in a backwards-compatible manner.

you can remove this answer as I've deleted my comment - sorry, that was my fault, everything works correctly :)