Hi,
I also have the same problem with images in ACF blocks. Width & height restrictions from ACF image fields are being applied to the Core image block, if I add a core image block to the page after the ACF block.
If I:
- Register ACF block with an image field.
- Add the ACF block to a page.
- Save the page & clear the browser’s cache
- Add a core image block to the page, & choose an image from the media library. The core image block has the ACF image field’s width & height restrictions applied to it.
I have tested this quite a bit:
- Switched from my theme to the Twenty twenty-one theme.
- Tested a single image & multiple images in repeater fields.
- Moved the rest of my ACF blocks to trash.
- Changed the image’s return format from Image Array to Image URL.
- Changed Required from yes to no for the image field.
- Deactivated all of the site’s other plugins.
I have been unable to solve this.
Environment:
- WordPress: 5.8
- ACF Pro: 5.10.1
- MacOS Catalina version 10.15.7
- Chrome version 92.0.4515.159
- DesktopServer Premium v3.9.4 . I think DesktopServer is build on MAMP? I’m not sure about this.