News for hackers. Stuff that matters.
Re:JQuery plugin to arrange images using knapsack algorithm by omgmog on Tuesday April 24, 2012 @04:22AM (#3882989)
Whipped up a quick example, it seems to re-order the images in a way to fit the most it can on each row given the width constraints and the width of each image - http://jsfiddle.net/vXbCY/
Re:JQuery plugin to arrange images using knapsack algorithm by heroic on Tuesday April 24, 2012 @04:26AM (#3882997)
Thanks! Mind if I include this on the github link?
Re:JQuery plugin to arrange images using knapsack algorithm by omgmog on Tuesday April 24, 2012 @04:30AM (#3883005)
go for it :)