-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x]: Graph QL Image Transformations Not Applying. #15718
Comments
Hi, thanks for getting in touch! I can’t reproduce this behaviour. When I run the query you attached, the image gets transformed as expected. I assume you tried clearing GQL caches? Could you also try running this query with the |
Thanks for confirming and for the additional screenshot! |
No problem at all! The Base URL is set to "https://ca1-fwk.edcdn.com/", and the image is visible on the entry, but only when safe mode is not in use. Hope this helps. Thanks! |
Thanks again!
yes, that would make sense since you’re using the AWS S3 plugin (and safe mode disables all plugins and modules) Any chance you could send your |
Hi @BenYarrow, @i-just, Any updates on this issue? I just want to confirm something about your I’ve encountered a similar issue with fields where I changed the handle in the field layout. For fields that still use their original handle, the image transform works as expected. |
Hi @AmarHuda1, This is interesting, i hadn't thought of this. Yes, our thumbnailImage field is renamed from an original and reusable asset field. I've just ran a test and can confirm that i'm experiencing the same behaviour. The original field (in my case 'singleImage') returns the transformed image as expected, however the renamed field ('thumbnailImage') does not. |
What happened?
Description
Previous image transform method is not returning the transformed image data as expected.
Previous GraphQL on Craft CMS version 4.10.6:
Would return on Craft CMS version 4.10.6:
Using this query method on Craft CMS version 5.4.2 returns:
After some time testing different query formats for the transform, the only way i see, to be able to retrieve a transformed url, width and height on Craft CMS version 5.4.2 is with the following qwury:
Steps to reproduce
Expected behavior
Return a transformed image url, width and height.
Actual behavior
Returning an untransformed image url, width and height.
Craft CMS version
5.4.2
PHP version
8.2.21
Operating system and version
OS version Darwin 22.5.0
Database type and version
MySQL 8.0.33
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.1-34)
Installed plugins and versions
Amazon S3 | 2.2.1
Asset Rev | 8.0.0
Cache Manager | 3.1.0
CKEditor | 4.2.0
Elements Panel | 3.0.0
Embedded Assets | 5.1.2
Expanded Singles | 3.0.0
Formie | 3.0.6
Image Resizer | 4.0.1
Maps | 5.0.2
Minify | 5.0.0
Navigation | 3.0.4
Phone Number | 3.0.0-beta.2
Rollbar | 5.0.0
SEO | 5.1.3
Style Inliner | 4.1.1
Table Maker | 5.0.2
The text was updated successfully, but these errors were encountered: