Conditional1: WOConditional { condition = hasCustomImageSrcForCurrentState; } Conditional2: WOConditional { condition = hasCustomImageSrcForCurrentState; negate = true; } ToggleImage: WOActiveImage { action = toggleClicked; align = "ABSMIDDLE"; alt = helpString; border = 0; src = customImageSrcForCurrentState; height = height; width = width; } ToggleImage2: WOActiveImage { action = toggleClicked; align = "ABSMIDDLE"; alt = helpString; border = 0; height = height; width = width; filename = imageNameForCurrentState; framework = frameworkName; }