Referencing images and code from another site without permission
This is not illegal, merely poor form and also a bad technical decision because the other site can then control you.
If this were illegal, you would have to get permission from other sites to use iframes. Things like stumbleupon's web version couldn't exist.