Checking image layout