(1) Open Tools / Options (or Flock / Preferences if you're on a Mac)
(2) Go to the Content tab
(3) Click on the Exceptions button next to "Load images automatically"
(4) In the window that appears, look for any entries containing "yahoo" or "yimg" and remove them from the list.
(5) Refresh your Yahoo mail page