Photoswipe not wrapping text to image size.
Posted: Tue Feb 24, 2026 2:51 pm
I'm investigating upgrading my install of flatpress to 1.4.1. I've created a test instance here:
https://wereboar.com/razorback
All seems to be well, save the photoswipe gallery. Previously, on 1.2.1, the text would wrap to the image size, and you'd get a nice, orderly grid. Now, the text isn't wrapping or breaking and the entire line is displayed, causing a very disorderly view. I've tried this with a couple of different themes, and verified that it happens in 1.3x as well with the theme I'm currently using on my production page.
See these two comparisons:
Doesn't work:
https://wereboar.com/razorback/index.ph ... -the-year/
Works:
https://wereboar.com/projects/index.php ... -the-year/
I realize the themes are different, but I've tried the theme on the non-working page with the same results.
So my questions:
Is this now the expected behavior of photoswipe?
Is there an easy fix if not?
If none of the above, is more information needed here?
Thank you.
https://wereboar.com/razorback
All seems to be well, save the photoswipe gallery. Previously, on 1.2.1, the text would wrap to the image size, and you'd get a nice, orderly grid. Now, the text isn't wrapping or breaking and the entire line is displayed, causing a very disorderly view. I've tried this with a couple of different themes, and verified that it happens in 1.3x as well with the theme I'm currently using on my production page.
See these two comparisons:
Doesn't work:
https://wereboar.com/razorback/index.ph ... -the-year/
Works:
https://wereboar.com/projects/index.php ... -the-year/
I realize the themes are different, but I've tried the theme on the non-working page with the same results.
So my questions:
Is this now the expected behavior of photoswipe?
Is there an easy fix if not?
If none of the above, is more information needed here?
Thank you.