moved image formatting up so the last rules lied in the classes