Add image sizes in main class
Fix activation warnings