changed imagecontainer to class, add padding