Describe your needs
In the gallery view, image indexing works correctly in 2-column layouts. However, in single-column layouts (such as mobile view), the indexing does not follow the visual order of the images.
Reproduce
- Open the gallery page on desktop (2-column layout) – observe correct image indexing.
- Resize the browser window or open the page on a mobile device (1-column layout).
- Observe that the image order remains the same as the 2-column logic, breaking the visual indexing sequence.
Expected behavior
The indexing should follow the visual top-to-bottom order in all responsive layouts. In single-column views, the image index should match the displayed order.
Describe your needs
In the gallery view, image indexing works correctly in 2-column layouts. However, in single-column layouts (such as mobile view), the indexing does not follow the visual order of the images.
Reproduce
Expected behavior
The indexing should follow the visual top-to-bottom order in all responsive layouts. In single-column views, the image index should match the displayed order.