#1 resize image
#1 don't init masonry before images are loaded