Added setuphandler to set simplelayout image sizes.