You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Editable image with user selected specific region not applied to image url received from GraphQL #997
Right click on image and set an area from the image with the function "Select specific area of image".
Preview of page shows the editable and image correctly with only the selected specific area.
Request the document with the editable and image information via GraphQL with e.g.:
queryGetDocument {
getDocument(id: 4404) {
__typename...ondocument_page {
fullpathtitledescriptioneditables(getInheritedValues: true) {
...ondocument_editableImage {
altimage {
fullpath # url to image but not with selected specific areamimetypefoo: fullpath(thumbnail: "foo-image") # url to thumbnail image but also not with selected specific area
}
}
}
}
}
}
Code snippet used in the preview to get/show the image: pimcore_image('foobar-image').thumbnail('foo-image').getFrontendPath()
Actual Behavior
Will receive the urls to the image with fullpath and the thumbnail fullpath, but the specific area selection is not applied.
URL for foo received by GraphQL: [..]/thumbnails/_default_upload_bucket/644/image-thumb__644__foo-image/funny-image.80ef1cfe.jpg
The url to the image is as expected also different to the one which is shown over Pimcores preview:
URL received from the Pimcore preview: [..]/thumbnails/_default_upload_bucket/644/image-thumb__644__foo-image_auto_b8d1ac8919c62ce241645269d23c09c0/funny-image.d6521fcf.jpg
Expected Behavior
The urls to the image with at least the thumbnail fullpath url should return the url to the image with the specific area selection is applied.
The received url would be likely the same as the preview uses.
Activity
Flatten the ImageType image resolver, document the empty test stub (#997
Fix Sonar S103 and S1172 in the image resolver and its test stub (#997)
Move the editable image crop upgrade note to 2026.4.0 (#997)
Test that srcset entries and their resolutions keep the requested for…
[GraphQL] Apply the image editable crop to thumbnails (#1178)