Relayout after images load
-
Hello, I’m very happy with your plugin, and it also seems that you’re very responsive. I chose this grid plugin after reviewing about half a dozen, and I’m very thankful for its quality, simplicity, and customizability.
However I am having a problem with the layout. Grid items with featured images will, on the first page load, render incorrectly on the first time that the page is loaded. Refreshing fixes the problem, but this won’t do my first users any good.
You can hopefully see the problem on your first load of enfascination.com. If not, I’ve shared screenshots below.
I did my homework. My problem is similar to this one:
https://www.ads-software.com/support/topic/chrome-issue-5/
I tried unloading all other plugins, changing the layout style between Pinterest and rows, and changing the max number of posts all the way down to 10. Nevertheless, I got the problem in Chrome and Safari. Only Firefox continued to run and rerun the layout algorithm until all images had fully loaded.I am comfortable in the code and would be happy to help in the troubleshooting. But I’d still appreciate getting pointed in the right place. Can you tell me the name of your layout function, and the name of the event that you’re re-triggering it from? Or is there some option I’m missing that would spare me this problem?
Here are screenshots from three browsers (in Mac):
Chrome (buggy): https://enfascination.com/cloud/index.php/s/L7GKKUsGB6zKS5H
Safari (buggy): https://enfascination.com/cloud/index.php/s/CvFXBOl6dd6sAl7
Firefox (correct): https://enfascination.com/cloud/index.php/s/LRnVnOwpOdDAeCTVersions:
WordPress: 4.9.7
WP Ultimate Post Grid: 2.7.1
Theme: custom
- The topic ‘Relayout after images load’ is closed to new replies.