ed-lea/jquery-collagePlus

Images not correctly aligned in Chrome, FF and Safari

Opened this issue · 3 comments

The images do not align correctly after resizing the window in Chrome, FF and Safari.

schermafbeelding 2014-04-25 om 09 41 31

The problem is that the last cell of a row is placed in the next row, but should not.

Spot on with whats happening! That is whats happening for me too..

I had the same problem. Changing line 184 to

var imageExtras         = (settings.padding * obj.length) + (obj.length * obj[0][3]),

fixed it for me. I'm not sure, if that is a valid fix, though, because I didn't look into the code that deep ;)