New Bug in 3.1.0: Images getting swapped/duplicated with RICG turned on
-
With RIGC turned on, I’m getting certain images duplicated/swapped on my pages. This happens on multiple pages and I can’t tell whether it’s something in my markup or not.
You can see a before/after of the behavior here:
https://s13.postimg.org/jrze97cqv/Screen_Shot_2015_11_25_at_7_41_43_PM.png
HTML Excerpt with RICG Off (working as expected):
<img src="/images/products/megazabba/swatch-aloha-pink-choco-60x60.jpg" alt="Aloha Pink Chocolate" width="60" height="60" class="size-thumbnail wp-image-1405" />
HTML Excerpt with RICG On (broken/repeated images for each swatch):
<img src="/images/products/megazabba/swatch-aloha-pink-choco-60x60.jpg" alt="Aloha Pink Chocolate" width="60" height="60" class="size-thumbnail wp-image-1405" srcset="https://www.AllyZabba.com/images/products/allyzabba-aloha/swatch-aloha-blue-60x60.jpg 60w, https://www.AllyZabba.com/images/products/allyzabba-aloha/swatch-aloha-blue-140x140.jpg 140w, https://www.AllyZabba.com/images/products/allyzabba-aloha/swatch-aloha-blue-460x460.jpg 460w, https://www.AllyZabba.com/images/products/allyzabba-aloha/swatch-aloha-blue-600x600.jpg 600w, https://www.AllyZabba.com/images/products/allyzabba-aloha/swatch-aloha-blue-300x300.jpg 300w, https://www.AllyZabba.com/images/products/allyzabba-aloha/swatch-aloha-blue.jpg 1000w" sizes="(max-width: 60px) 100vw, 60px" />
You can see the full working (non RICG) example here:
https://www.allyzabba.com/products/megazabba/I thought I’d mention it before this code goes into core in case it impacts more than just my markup.
Rob
- The topic ‘New Bug in 3.1.0: Images getting swapped/duplicated with RICG turned on’ is closed to new replies.