Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It appears the a "2" is being added after the image style in the image src after several window resizes. I believe the reason for this is lines 127-8 in borealis_ri.js. It replaces "_respondxl" with "" (blank text) beforereplacing "_respondxl2." Thus, if an image has "_respondxl2" in its src, it will become just "2," because "_respondxl" is removed first.
The fix is to strip "_respondxl2" first. Patch attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | borealis_ri-incorrect-src.patch | 855 bytes | jessepinho |
borealis_ri-incorrect-src.patch | 855 bytes | jessepinho | |
Comments
Comment #1
jessepinho CreditAttribution: jessepinho commentedAssigning to myself so the patch will be tested. (I guess that's how it works...?)
Comment #2
Snugug CreditAttribution: Snugug commentedThanks, I'll take a look, but are you sure that this patch is for rc1? I've done a significant overhaul to Borealis since beta8 and I no longer do string replacement. Make sure you update to rc1 and try again.