fix class page image too large