set image sizes in own object