bullcitydave/pett.io — pull request #67 by bullcitydave (2014-08-16 23:53:03+00:00)
Title: Masonry half-figured out; renders wonderfully when it works

Trying to figure out how to force masonry to run on a div after image load (using ImageLoader plugin). When works, occasionally, it looks wonderful. Finding right place to embed is key. Had put in my initialize of Link View. Worked sometimes and only if pet had only Parse images. Simply modifying code and refresh would fix un-"mason"-ed montage. Sometimes pasting function into console would also render pics properly. ImageLoader should implicitly create the promises needed, but there is clearly more needed. At present, have moved function into Flickr View and found it worked with multiple pets and when there were both Parse and Flickr pics being loaded. If this is consistent behavior, will need to mod so code runs in Parse View if there are only parse photos.