added dynamic getter for image sizes