There’s a new bug on dynamic pages and it only affects newly created ones.
If there’s an image in the CMS, you cannot connect a text field to the Alt text.
You can select the option but it doesn’t work.
For example:
Image source connects to:
image field
Alt text connects to:
Alt text field
On the live page the alt text will not show - it will only be the image’s file name.
You can’t even apply it with code like this:
const currentItem = $w(“#dynamicDataset”).getCurrentItem();
$w(“#image1”).alt = currentItem.alt;
There’s also this error in the console, though I am not sure if it’s related:
suspense rendered fallback for - imageZoomComp - (ImageZoom)
|
(anonymous) |
@ |
reactClientRenderer.tsx:138 |
|
|
|
|
This error is affecting all of our sites.
I would report this directly to Wix as a bug and include:
- A working older dynamic page where the same setup works.
- A newly created dynamic page where it fails.
- The CMS field key used for the alt text.
- A live page URL.
- A screenshot showing the image source connected to the image field and the Alt text connected to the text field.
- Confirmation that the live page outputs the file name instead of the CMS alt text.