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
If I create a new custom component and use Image V3 component with 'ImageDelegate', 'Preset Type' section in the dialog is not displayed.
When I drag and drop an image in the asset section of this component, I can see the Preset Type section is visible for the first time.
But when I reopen this component. I can't see 'Preset Type' section anymore. It is hidden in the dialog console
Please note that, Asset tab is not a first tab of this custom component.
Expected behavior/code
If we use an image in this component and selected a smart crop variation, it should always display 'Preset Type' section in the dialog below the image. It should be hidden.
Environment
AEM version and patch level 2023.4.11835.20230414T234523Z-230200
Core Components version 2.23.0
Additional context / Screenshots
Image v3 component with smart-crop as 'auto'
PS: core.wcm.components.image.v3 clientlib has been added to the component.
The text was updated successfully, but these errors were encountered:
@bpauli the issue is caused by the line 137 in image.js within Image V3 Clientlibs $cqFileUploadEdit = $dialog.find(".cq-FileUpload-edit:visible");
Checking "visible" will work only in Image Dialog but not on another component which use V3 for delegation as Asset Tab is not visible on dialog load on those components.
Check which fileUpload to pick on the basis of "imageFromPageImage" checked value.
RSGNR15
changed the title
Image v3 smart crop not working
Image v3 Preset Type section is not visible when using this component with ImageDelegate.
Jun 29, 2023
Current Behavior
If I create a new custom component and use Image V3 component with 'ImageDelegate', 'Preset Type' section in the dialog is not displayed.
When I drag and drop an image in the asset section of this component, I can see the Preset Type section is visible for the first time.
But when I reopen this component. I can't see 'Preset Type' section anymore. It is hidden in the dialog console
Please note that, Asset tab is not a first tab of this custom component.
Expected behavior/code
If we use an image in this component and selected a smart crop variation, it should always display 'Preset Type' section in the dialog below the image. It should be hidden.
Environment
Additional context / Screenshots
Image v3 component with smart-crop as 'auto'
PS: core.wcm.components.image.v3 clientlib has been added to the component.
The text was updated successfully, but these errors were encountered: