Fix resize_imgs bug

It seems like the resize_imgs function runs too early (before the
placeholder spans have been populated with img elements) -
for now, we can use the img_observer to resize all images, but
this is kludgy & should be fixed properly