Closed febyolaaldo closed 6 years ago
I guess the images inside the figure
element aren't loaded yet. You should make sure you call rowGrid only after all images are loaded. Alternatively, you could add the width and height of the images as attributes to the img
elements like this: <img src="…" width="200" height="160"
yeah, fixed with setTimeout function. Thanks @brunjo
When i try to reload again, everything is running well. But, when i try to clear cache, i get width: 0px again. What can i do?